🇰🇷 한글 설명
VuFind 2.0~9.1 버전의 /Upgrade/FixConfig 라우트에서 SSRF 취약점이 존재하여 원격 공격자가 로컬 설정 파일을 덮어쓸 수 있습니다. 이를 통해 관리자 패널에 접근하고 원격 코드 실행(RCE)을 달성할 수 있습니다. PHP의 allow_url_include 설정이 활성화되어 있고 /Upgrade 라우트가 노출되어 있어야 공격이 가능합니다.
💡 쉬운 설명
VuFind 웹 애플리케이션의 업그레이드 기능에 결함이 있어 공격자가 설정 파일을 악의적으로 변경할 수 있습니다. 이를 통해 시스템을 완전히 장악하고 악성 코드를 실행할 수 있게 됩니다.
🇺🇸 원문 (English)
A Server-Side Request Forgery (SSRF) vulnerability in the /Upgrade/FixConfig route in Open Library Foundation VuFind 2.0 through 9.1 before 9.1.1 allows a remote attacker to overwrite local configuration files to gain access to the administrator panel and achieve Remote Code Execution. A mitigating factor is that it requires the allow_url_include PHP runtime setting to be on, which is off in default installations. It also requires the /Upgrade route to be exposed, which is exposed by default after installing VuFind, and is recommended to be disabled by setting autoConfigure to false in config.ini.
📍 영향받는 시스템
Open Library Foundation VuFind 2.0 ~ 9.1 (9.1.1 이상에서 패치됨)
⚔️ 공격 벡터
원격 공격자가 /Upgrade/FixConfig 엔드포인트에 악의적인 요청을 전송하여 설정 파일 덮어쓰기
🛡️ 대응 방법
VuFind를 9.1.1 이상으로 업그레이드하거나 config.ini에서 autoConfigure를 false로 설정하여 /Upgrade 라우트 비활성화
🔧 검증 코드
VuFind 설치 경로가 반환되면 시스템에 VuFind가 설치되어 있으며, version.php 파일을 확인하거나 설정 파일의 autoConfigure 값을 검증하여 취약성 여부 확인
find /usr/local/vufind /opt/vufind 2>/dev/null -name 'vufind-*.zip' -o -name 'version.php' | head -1