🔍 CVE-2022-35740

6.1
CVSS Score
MEDIUM
2022-11-10
2026-06-17 04:52
✅ 완료

🇰🇷 한글 설명

dotCMS 22.06 이전 버전에서 URL에 세미콜론을 사용하여 매트릭스 파라미터를 삽입함으로써 의도된 접근 제어를 우회할 수 있는 취약점이 발견되었습니다. 공격자는 이를 통해 로그인 필터를 통과하여 제한된 리소스에 접근하거나 민감한 정보를 탈취할 수 있습니다.

💡 쉬운 설명

웹사이트 주소에 세미콜론(;)을 교묘하게 섞어 넣으면, 보안 검사기를 속이고 원래는 볼 수 없는 비밀 페이지나 파일에 접근할 수 있는 문제입니다. 이를 통해 공격자가 중요한 정보를 몰래 훔쳐볼 위험이 있습니다.

🇺🇸 원문 (English)

dotCMS before 22.06 allows remote attackers to bypass intended access control and obtain sensitive information by using a semicolon in a URL to introduce a matrix parameter. (This is also fixed in 5.3.8.12, 21.06.9, and 22.03.2 for LTS users.) Some Java application frameworks, including those used by Spring or Tomcat, allow the use of matrix parameters: these are URI parameters separated by semicolons. Through precise semicolon placement in a URI, it is possible to exploit this feature to avoid dotCMS's path-based XSS prevention (such as "require login" filters), and consequently access restricted resources. For example, an attacker could place a semicolon immediately before a / character that separates elements of a filesystem path. This could reveal file content that is ordinarily only visible to signed-in users. This issue can be chained with other exploit code to achieve XSS attacks against dotCMS.

📍 영향받는 시스템

dotCMS 22.06 미만 버전 (LTS 사용자의 경우 5.3.8.12, 21.06.9, 22.03.2 미만 버전)

⚔️ 공격 벡터

URL 경로 내에 세미콜론을 포함한 매트릭스 파라미터를 삽입하여 경로 기반 접근 제어 필터를 우회하는 방식

🛡️ 대응 방법

dotCMS를 최신 보안 패치가 적용된 버전(5.3.8.12, 21.06.9, 22.03.2 이상)으로 업데이트하십시오.

🔧 검증 코드

해당 URL 요청 시 접근 제어가 우회되어 민감한 파일 내용이 출력된다면 취약한 상태입니다.

Shell / Script
curl -s http://<target-ip>/<path>;/ | grep -i 'dotcms' || echo 'Version check required via management console'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Spring Framework