🇰🇷 한글 설명
Jenkins Script Security Plugin 1415.v9a_f9b_3a_c253d 및 이전 버전에서 @Builder 어노테이션의 builderStrategy 멤버가 임의의 클래스를 지정하는 것을 차단하지 못하는 취약점이 발견되었습니다. 이로 인해 샌드박스 스크립트 실행 권한을 가진 공격자가 클래스패스에 존재하는 적절한 클래스를 이용해 샌드박스를 우회하고 임의의 코드를 실행할 수 있습니다.
💡 쉬운 설명
보안 구역 안에서만 움직여야 하는 프로그램이 특정 설정을 이용해 보안 구역 밖의 명령을 실행할 수 있는 문제입니다. 공격자가 이 허점을 이용하면 시스템의 통제권을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
Jenkins Script Security Plugin 1415.v9a_f9b_3a_c253d and earlier does not reject @Builder annotations whose builderStrategy member names an arbitrary class, allowing attackers with permission to define and run sandboxed scripts, including Pipelines, to execute code outside the sandbox if a suitable class is present on the classpath of the component that evaluates the script.
📍 영향받는 시스템
Jenkins Script Security Plugin 1415.v9a_f9b_3a_c253d 및 그 이전 버전
⚔️ 공격 벡터
샌드박스 스크립트 실행 권한을 가진 사용자가 @Builder 어노테이션의 builderStrategy를 조작하여 클래스패스 내 클래스를 호출
🛡️ 대응 방법
Jenkins Script Security Plugin을 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 script-security 플러그인의 버전이 1415.v9a_f9b_3a_c253d보다 높은지 확인하십시오.
jenkins-plugin-manager --list | grep 'script-security'