🔍 CVE-2020-36825

6.3
CVSS Score
MEDIUM
2024-03-24
2026-04-15 00:35
✅ 완료

🇰🇷 한글 설명

cyberaz0r WebRAT의 Server/api.php 파일 download_file 함수에서 name 파라미터 검증 부족으로 인한 무제한 파일 업로드 취약점입니다. 이미 지원되지 않는 제품에만 영향을 미치며 실제 존재 여부는 논쟁 중입니다.

💡 쉬운 설명

오래된 WebRAT 소프트웨어의 파일 업로드 기능에서 제한이 없어 누구나 원격으로 파일을 업로드할 수 있습니다. 다만 이미 지원이 끝난 제품이고 실제 문제인지도 명확하지 않습니다.

🇺🇸 원문 (English)

** UNSUPPORTED WHEN ASSIGNED ** ** DISPUTED ** A vulnerability has been found in cyberaz0r WebRAT up to 20191222 and classified as critical. This vulnerability affects the function download_file of the file Server/api.php. The manipulation of the argument name leads to unrestricted upload. The attack can be initiated remotely. The real existence of this vulnerability is still doubted at the moment. The patch is identified as 0c394a795b9c10c07085361e6fcea286ee793701. It is recommended to apply a patch to fix this issue. VDB-257782 is the identifier assigned to this vulnerability. NOTE: This vulnerability only affects products that are no longer supported by the maintainer. NOTE: The issue, discovered in a 20-stars GitHub project (now private) by its author, had CVE requested by a third party 4 years post-resolution, referencing the fix commit (now a broken link). Due to minimal attention and usage, it should not be eligible for CVE according to the project maintainer.

📍 영향받는 시스템

cyberaz0r WebRAT version 20191222 이하

⚔️ 공격 벡터

원격 HTTP 요청으로 Server/api.php의 download_file 함수에 name 파라미터 조작

🛡️ 대응 방법

제품이 더 이상 지원되므로 패치 적용(commit 0c394a795b9c10c07085361e6fcea286ee793701) 또는 제품 제거

🔧 검증 코드

/etc/passwd 파일 내용이 응답으로 오면 취약점 존재, 404나 거부 응답이 오면 패치됨

Shell / Script
curl -s 'http://target/Server/api.php?action=download_file&name=../../../etc/passwd' 2>/dev/null | head -c 50

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

💻 영향받는 소프트웨어

Git