🔍 CVE-2026-100669

7.5
CVSS Score
HIGH
2026-09-26
2026-09-30 21:16
✅ 완료

🇰🇷 한글 설명

Grav 2.0.25 미만 버전의 웹 서버 설정 샘플에서 액세스 제어 규칙이 대소문자를 구분하여 처리되는 취약점이 발견되었습니다. IIS 환경에서 공격자가 폴더명이나 파일 확장자의 대소문자를 변경하여 차단 규칙을 우회할 경우, 설정 파일이나 비밀번호 해시와 같은 민감한 데이터가 노출될 수 있습니다.

💡 쉬운 설명

웹사이트의 보안 규칙이 대소문자를 엄격하게 구분하여 발생하는 문제입니다. 공격자가 파일 이름의 대소문자만 살짝 바꿔서 접근하면, 원래는 볼 수 없어야 할 중요한 비밀 정보들을 몰래 훔쳐볼 수 있습니다.

🇺🇸 원문 (English)

Grav before 2.0.25 ships web server configuration samples whose access-control deny rules are matched case-sensitively. In webserver-configs/web.config (IIS), every deny rule (user_sensitive_folders, user_accounts, user_data, user_error_redirect, user_pages, system, vendor, ignore_folders) sets ignoreCase="false" on its URL Rewrite <match> element, overriding the IIS default of ignoreCase="true"; because these are rewrite matches rather than <requestFiltering> elements, there is no case-insensitive fallback. On IIS running over case-insensitive NTFS, an unauthenticated remote attacker can vary the case of a folder name or file extension (for example GET /user/CONFIG/system.YAML) so that no deny rule matches and the IIS static file handler resolves and returns the underlying file, disclosing sensitive data such as configuration secrets or account password hashes. Whether a bypassed file is actually returned depends on MIME registration: .json is served by default, while .yaml/.yml return HTTP 404.3 on a stock IIS unless a YAML MIME mapping has been added. The same class of gap exists in the bundled webserver-configs/lighttpd.conf, whose user/(config|env), directory, script-extension, root-file and dotfile rules lack the (?i) modifier, though it is lower risk because lighttpd typically runs on case-sensitive filesystems. Deployments served by Apache (.htaccess), nginx, Caddy, or the PHP built-in server are not affected. The issue is fixed in 2.0.25; because the .htaccess installer heal does not touch web.config or lighttpd.conf, operators must re-copy the corrected sample files after upgrading.

📍 영향받는 시스템

Grav versions before 2.0.25 (specifically IIS and lighttpd configurations)

⚔️ 공격 벡터

Unauthenticated remote attacker varying the case of folder names or file extensions (e.g., GET /user/CONFIG/system.YAML)

🛡️ 대응 방법

Upgrade Grav to version 2.0.25 or higher and manually replace web.config or lighttpd.conf with corrected sample files.

🔧 검증 코드

명령어 결과에 ignoreCase="false"가 포함되어 있다면 취약한 설정이 적용된 상태입니다.

Shell / Script
grep -r 'ignoreCase="false"' webserver-configs/web.config 2>/dev/null

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Apache HTTP Server