🇰🇷 한글 설명
Jenkins Matrix Authorization Strategy Plugin 2.0-beta-1부터 3.2.9 버전까지에서 역직렬화 시 상속 전략에 지정된 클래스의 매개변수 없는 생성자를 호출할 때 인스턴스화할 수 있는 클래스를 제한하지 않아, Item/Configure 권한을 가진 공격자가 임의의 타입을 인스턴스화할 수 있습니다. 클래스경로에 있는 클래스에 따라 정보 공개 또는 다른 영향을 초래할 수 있습니다.
💡 쉬운 설명
Jenkins 플러그인이 설정 파일에서 위험한 프로그램을 자동으로 실행하도록 허용합니다. 관리 권한이 있는 사용자가 악의적인 설정을 넣으면 서버의 정보를 빼낼 수 있습니다.
🇺🇸 원문 (English)
Jenkins Matrix Authorization Strategy Plugin 2.0-beta-1 through 3.2.9 (both inclusive) invokes parameterless constructors of classes specified in configuration when deserializing inheritance strategies, without restricting the classes that can be instantiated, allowing attackers with Item/Configure permission to instantiate arbitrary types, which may lead to information disclosure or other impacts depending on the classes available on the classpath.
📍 영향받는 시스템
Jenkins Matrix Authorization Strategy Plugin 2.0-beta-1 ~ 3.2.9
⚔️ 공격 벡터
Item/Configure 권한을 가진 공격자가 플러그인 설정을 조작하여 임의 클래스 인스턴스화
🛡️ 대응 방법
Jenkins Matrix Authorization Strategy Plugin을 3.2.10 이상으로 업그레이드
🔧 검증 코드
Plugin-Version이 3.2.10 이상이면 안전, 3.2.9 이하면 취약
find $JENKINS_HOME/plugins -name 'matrix-auth*.jpi' -o -name 'matrix-auth*.hpi' 2>/dev/null | xargs -I {} unzip -p {} META-INF/MANIFEST.MF | grep 'Plugin-Version'