🔍 CVE-2011-4451

4.3
CVSS Score
MEDIUM
2012-09-05
2026-04-29 01:13
✅ 완료

🇰🇷 한글 설명

WikkaWiki 1.3.1과 1.3.2에서 spam_logging 옵션이 활성화될 때, User-Agent HTTP 헤더를 통해 원격 공격자가 spamlog_path 파일에 임의의 PHP 코드를 기록할 수 있는 취약점입니다. 다만 해당 파일이 PHP 인터프리터로 실행되지 않기 때문에 벤더는 이를 부분적으로 논쟁의 여지가 있다고 주장합니다.

💡 쉬운 설명

WikkaWiki 웹사이트에서 스팸 로깅이 켜져 있을 때, 공격자가 브라우저 정보(User-Agent)를 조작하여 악성 코드를 로그 파일에 저장할 수 있습니다. 다만 그 파일이 실행되지 않아 실제 위해는 제한적입니다.

🇺🇸 원문 (English)

libs/Wakka.class.php in WikkaWiki 1.3.1 and 1.3.2, when the spam_logging option is enabled, allows remote attackers to write arbitrary PHP code to the spamlog_path file via the User-Agent HTTP header in an addcomment request. NOTE: the vendor disputes this issue because the rendering of the spamlog_path file never uses the PHP interpreter

📍 영향받는 시스템

WikkaWiki 1.3.1, 1.3.2 (spam_logging 옵션 활성화 상태)

⚔️ 공격 벡터

POST addcomment 요청의 User-Agent 헤더에 PHP 코드 주입

🛡️ 대응 방법

WikkaWiki를 최신 버전으로 업그레이드하거나 spam_logging을 비활성화하세요

🔧 검증 코드

spamlog 파일이 존재하면 해당 경로를 확인하고, 파일 내용에 의심스러운 PHP 코드가 포함되어 있는지 검사하세요

Shell / Script
ls -la /path/to/wikka/spamlog* 2>/dev/null && head -20 /path/to/wikka/spamlog

📊 CVSS Vector String

CVSS Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N

💻 영향받는 소프트웨어

PHP