🇰🇷 한글 설명
WordPress의 'My Custom CSS PHP & ADS' 플러그인 버전 3.3 이하에서 벤더 디렉토리의 exportToJSON.php 파일에 직접 접근할 수 있는 경로 공개 취약점이 존재합니다. 인증 없이 웹 애플리케이션의 전체 파일 경로를 조회할 수 있으며, 이 정보는 추가 공격의 발판으로 활용될 수 있습니다.
💡 쉬운 설명
플러그인이 특정 파일 접근을 차단하지 않아서, 누구나 서버의 폴더 경로를 볼 수 있는 문제입니다. 이 경로 정보 자체로는 해가 없지만 다른 취약점과 조합하면 공격에 활용될 수 있습니다.
🇺🇸 원문 (English)
The My Custom CSS PHP & ADS plugin for WordPress is vulnerable to Full Path Disclosure in all versions up to, and including, 3.3. This is due the plugin not preventing direct access to the /my-custom-css/vendor/mobiledetect/mobiledetectlib/export/exportToJSON.php file and and the file displaying/generating the full path. This makes it possible for unauthenticated attackers to retrieve the full path of the web application, which can be used to aid other attacks. The information displayed is not useful on its own, and requires another vulnerability to be present for damage to an affected website.
📍 영향받는 시스템
My Custom CSS PHP & ADS plugin 버전 3.3 이하 (WordPress)
⚔️ 공격 벡터
플러그인 벤더 파일의 공개 경로 직접 접근: /my-custom-css/vendor/mobiledetect/mobiledetectlib/export/exportToJSON.php
🛡️ 대응 방법
플러그인을 최신 버전으로 업그레이드하거나, 웹 서버 설정으로 해당 디렉토리 접근 차단
🔧 검증 코드
파일 경로가 노출되면 취약함. 404/403 에러나 접근 거부 메시지가 나면 보호된 상태입니다.
curl -s 'http://[target]/my-custom-css/vendor/mobiledetect/mobiledetectlib/export/exportToJSON.php' 2>&1 | grep -i 'path\|directory\|absolute' | head -5