alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS LG Simple Editor Rename Malicious BMP to JSP Attempt (CVE-2023-40498)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/simpleeditor/fileSystem/makeDetailContent.do"; fast_pattern;
http.request_body;
content:"|7b 22|command|22 3a 22|cp|22 2c 22|option|22 3a 22|-f|22 2c 22|srcPath|22 3a 22|";
content:".bmp|22 2c 22|destPath|22 3a 22|"; distance:0; within:100;
content:".jsp|22 7d|"; distance:0; within:50;
reference:url,attackerkb.com/topics/qB3G1ymgSh/cve-2023-40498;
reference:cve,2023-40498;
classtype:attempted-admin;
sid:2049213; rev:2;
metadata:attack_target Web_Server, created_at 2023_11_15, cve CVE_2023_40498, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, updated_at 2023_11_16, reviewed_at 2024_10_02;
target:dest_ip;
)