🇰🇷 한글 설명
Oracle 9i Application Server(9iAS)의 Apache 설정 파일(httpd.conf)에서 /perl 디렉토리에 ScriptAlias 대신 Location alias를 사용하여 발생하는 취약점입니다. 공격자는 이를 악용하여 /cgi-bin 대신 /perl 디렉토리가 포함된 URL을 통해 임의의 CGI 파일 소스 코드를 원격에서 읽을 수 있습니다.
💡 쉬운 설명
웹 서버 설정 오류로 인해 원래는 실행만 되어야 하는 프로그램의 내부 설계도(소스 코드)가 외부로 노출되는 문제입니다. 해커가 이 설계도를 읽으면 시스템을 공격하기 위한 추가 정보를 쉽게 얻을 수 있습니다.
🇺🇸 원문 (English)
The Apache configuration file (httpd.conf) in Oracle 9i Application Server (9iAS) uses a Location alias for /perl directory instead of a ScriptAlias, which allows remote attackers to read the source code of arbitrary CGI files via a URL containing the /perl directory instead of /cgi-bin.
📍 영향받는 시스템
Oracle 9i Application Server (9iAS)
⚔️ 공격 벡터
특정 경로(/perl)를 포함한 URL 요청을 통한 원격 소스 코드 탈취
🛡️ 대응 방법
httpd.conf 설정에서 /perl 디렉토리에 대한 Location alias를 ScriptAlias로 변경
🔧 검증 코드
명령어 실행 결과로 소스 코드의 문법(<?php, #, print 등)이 출력되면 취약한 상태입니다.
curl -s http://<target_ip>/perl/test.cgi | grep -E '<?|#|print'
📊 CVSS Vector String
AV:N/AC:L/Au:N/C:P/I:N/A:N
💻 영향받는 소프트웨어
IBM WebSphere Application Server