🇰🇷 한글 설명
Nexus Repository 3의 Content Selector에서 사용되는 JEXL 표현식의 샌드박스 기능이 불완전하여 발생한 취약점입니다. 특정 권한을 가진 사용자가 의도되지 않은 Java 객체 속성에 접근하여 JVM 내부 클래스 메타데이터를 노출시킬 수 있습니다. 다만, 메서드 호출이나 임의 코드 실행은 불가능합니다.
💡 쉬운 설명
시스템 내부의 민감한 정보가 담긴 설계도를 몰래 훔쳐볼 수 있는 취약점입니다. 하지만 이 정보를 이용해 시스템을 직접 조작하거나 명령을 내릴 수는 없습니다.
🇺🇸 원문 (English)
Nexus Repository 3 did not fully sandbox JEXL expressions used in Content Selectors. An account holding the nexus:selectors:create permission could construct an expression that read Java object properties not intended to be exposed to the expression engine, disclosing internal JVM class metadata such as class and classloader names. This issue does not permit method invocation, object construction, or arbitrary code execution. This has been fixed by restricting property access in the JEXL sandbox to the intended data types.
📍 영향받는 시스템
Nexus Repository 3 (패치 전 버전)
⚔️ 공격 벡터
nexus:selectors:create 권한을 가진 계정이 특수하게 조작된 JEXL 표현식을 작성하여 내부 객체 속성에 접근
🛡️ 대응 방법
JEXL 샌드박스 내 속성 접근을 제한하는 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 버전 정보가 취약점이 해결된 최신 패치 버전인지 확인
curl -s -u admin:password https://<nexus-url>/service/rest/v1/status | grep -i 'version'