🔍 CVE-2026-52773

6.1
CVSS Score
MEDIUM
2026-09-05
2026-09-08 21:05
✅ 완료

🇰🇷 한글 설명

YesWiki 4.1.0부터 4.6.6 미만 버전에서 발생하는 취약점으로, archived-revision 보기 시 GET 파라미터인 time 값이 적절한 이스케이프 없이 HTML 입력 필드에 반영됩니다. 공격자는 MySQL의 DATETIME 문자열 처리 방식을 악용하여 유효한 타임스탬프 뒤에 HTML이나 JavaScript를 삽입함으로써 피해자의 브라우저에서 임의의 스크립트를 실행할 수 있습니다.

💡 쉬운 설명

웹사이트의 과거 기록을 보는 기능에 악성 코드를 숨겨 넣을 수 있는 보안 약점이 발견되었습니다. 이를 통해 공격자는 사용자의 브라우저에서 원치 않는 동작을 실행하거나 정보를 탈취할 수 있습니다.

🇺🇸 원문 (English)

YesWiki is a wiki system written in PHP. From version 4.1.0 to before version 4.6.6, YesWiki's archived-revision view reflects the time GET parameter into a hidden HTML input in handlers/page/show.php without escaping. Because MySQL coerces malformed DATETIME strings, an attacker can append HTML or JavaScript to a valid archived revision timestamp, still load that archived revision, and execute arbitrary JavaScript in the victim's browser. The vulnerable form is only rendered when the victim can both read and edit the target page. In restricted deployments this requires a victim with read and write access to that page. On a default doryphore 4.6.5 install, public pages such as PagePrincipale were editable anonymously during validation, so the issue can also affect unauthenticated visitors in that configuration. This issue has been patched in version 4.6.6.

📍 영향받는 시스템

YesWiki version 4.1.0 ~ 4.6.5

⚔️ 공격 벡터

조작된 time GET 파라미터를 이용한 교차 사이트 스크립팅(XSS) 공격

🛡️ 대응 방법

YesWiki를 최신 보안 패치가 적용된 버전 4.6.6 이상으로 업데이트하십시오.

🔧 검증 코드

설치된 YesWiki의 버전 정보가 4.1.0에서 4.6.5 사이인지 확인하여 취약 여부를 판단합니다.

Shell / Script
php -r 'echo "YesWiki version check";' && grep -r "version" /path/to/yeswiki/ | grep -E '4\[\.\d+\]' | grep -v '4.6.6'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

MySQL