🇰🇷 한글 설명
Liferay Portal CE 6.x 버전 6.0.6 GA 이전의 Apache Tomcat 환경에서 XML 외부 엔티티(XXE) 취약점을 통해 인증된 사용자가 임의의 파일을 읽을 수 있다. 공격자는 XML 엔티티 선언 및 참조를 조합하여 서버 파일 시스템에 접근할 수 있다.
💡 쉬운 설명
Liferay 포털의 오래된 버전에서 특별한 XML 형식을 이용하면 로그인한 사용자가 서버의 민감한 파일들을 읽을 수 있는 문제입니다. 이를 통해 데이터베이스 설정, 인증 정보 등 중요한 파일이 노출될 수 있습니다.
🇺🇸 원문 (English)
Liferay Portal Community Edition (CE) 6.x before 6.0.6 GA, when Apache Tomcat is used, allows remote authenticated users to read arbitrary files via an entity declaration in conjunction with an entity reference, related to an XML External Entity (aka XXE) issue.
📍 영향받는 시스템
Liferay Portal Community Edition 6.x (6.0.0 ~ 6.0.5 GA) with Apache Tomcat
⚔️ 공격 벡터
Authenticated attacker sends crafted XML requests with XXE entity declarations to read arbitrary server files
🛡️ 대응 방법
Upgrade to Liferay Portal CE 6.0.6 GA or later; disable XML external entity processing in Tomcat configuration
🔧 검증 코드
출력되는 버전 정보가 6.0.0~6.0.5 범위면 취약함. 버전이 없거나 6.0.6 이상이면 안전
curl -s http://localhost:8080 2>/dev/null | grep -oP '(?<=Liferay|Portal)[^<]*6\.0\.[0-5]' | head -1