🇰🇷 한글 설명
Appalti & Contratti 9.12.2 버전에서 Axis 1.4 인스턴스의 설정 오류로 인해 발생한 취약점입니다. 공격자가 원격에서 AdminService에 접근하여 서버 측에 임의의 서비스를 생성할 수 있으며, 이를 통해 JSP 페이지를 작성하여 원격 코드 실행(RCE)이 가능합니다.
💡 쉬운 설명
웹 서비스의 관리자 기능이 외부로 노출되어 발생하는 보안 구멍입니다. 해커가 이 구멍을 통해 서버에 몰래 악성 파일을 심고 마음대로 조종할 수 있습니다.
🇺🇸 원문 (English)
An issue was discovered in Appalti & Contratti 9.12.2. The target web applications LFS and DL229 expose a set of services provided by the Axis 1.4 instance, embedded directly into the applications, as hinted by the WEB-INF/web.xml file leaked through Local File Inclusion. Among the exposed services, there is the Axis AdminService, which, through the default configuration, should normally be accessible only by the localhost. Nevertheless, by trying to access the mentioned service, both in LFS and DL229, the service can actually be reached even by remote users, allowing creation of arbitrary services on the server side. When an attacker can reach the AdminService, they can use it to instantiate arbitrary services on the server. The exploit procedure is well known and described in Generic AXIS-SSRF exploitation. Basically, the attack consists of writing a JSP page inside the root directory of the web application, through the org.apache.axis.handlers.LogHandler class.
📍 영향받는 시스템
Appalti & Contratti 9.12.2 (LFS 및 DL229 웹 애플리케이션 포함)
⚔️ 공격 벡터
Axis AdminService를 통한 임의 서비스 생성 및 LogHandler 클래스를 이용한 JSP 파일 업로드
🛡️ 대응 방법
Axis AdminService의 외부 접근을 차단하고, 최신 보안 패치가 적용된 버전으로 업데이트하거나 불필요한 Axis 서비스를 비활성화하십시오.
🔧 검증 코드
명령어 결과에 Axis 관련 설정 정보가 포함되어 있다면 해당 취약점에 노출되었을 가능성이 높습니다.
curl -s http://<target_ip>/WEB-INF/web.xml | grep -i 'axis'