🇰🇷 한글 설명
xmpp-http-upload 0.4.0 미만 버전에서 GET 요청 시 디렉토리 트래버설 취약점이 존재합니다. 공격자는 .data 및 .meta 확장자를 가진 파일을 이용해 권한이 없는 다른 인스턴스의 파일을 읽거나 인증 및 트래픽 제한을 우회할 수 있습니다.
💡 쉬운 설명
파일 저장 경로를 조작하여 허용되지 않은 다른 사용자의 파일을 몰래 읽을 수 있는 보안 약점입니다. 이를 통해 서버 내의 민감한 정보가 유출되거나 보안 설정이 무력화될 수 있습니다.
🇺🇸 원문 (English)
In xmpp-http-upload before version 0.4.0, when the GET method is attacked, attackers can read files which have a `.data` suffix and which are accompanied by a JSON file with the `.meta` suffix. This can lead to Information Disclosure and in some shared-hosting scenarios also to circumvention of authentication or other limitations on the outbound (GET) traffic. For example, in a scenario where a single server has multiple instances of the application running (with separate DATA_ROOT settings), an attacker who has knowledge about the directory structure is able to read files from any other instance to which the process has read access. If instances have individual authentication (for example, HTTP authentication via a reverse proxy, source IP based filtering) or other restrictions (such as quotas), attackers may circumvent those limits in such a scenario by using the Directory Traversal to retrieve data from the other instances. If the associated XMPP server (or anyone knowing the SECRET_KEY) is malicious, they can write files outside the DATA_ROOT. The files which are written are constrained to have the `.meta` and the `.data` suffixes; the `.meta` file will contain the JSON with the Content-Type of the original request and the `.data` file will contain the payload. The issue is patched in version 0.4.0.
📍 영향받는 시스템
xmpp-http-upload version < 0.4.0
⚔️ 공격 벡터
GET 메소드를 이용한 디렉토리 트래버설(Directory Traversal) 공격
🛡️ 대응 방법
xmpp-http-upload를 0.4.0 이상의 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 0.4.0 미만인지 확인하십시오.
python3 -c 'import xmpp_http_upload; print(xmpp_http_upload.__version__)' 2>/dev/null || echo 'Package not found'
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N
💻 영향받는 소프트웨어
IBM WebSphere Application Server