alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Cisco RV Series Router form-file-upload Stored Cross Site Scripting Attempt (CVE-2023-20073)";
flow:established,to_server;
http.method;
content:"POST";
http.uri; bsize:45;
content:"/api/operations/ciscosb-file:form-file-upload"; fast_pattern;
http.request_body;
content:"Content-Disposition|3a 20|form-data|3b 20|name|3d 22|pathparam|22|";
content:"Portal"; within:20;
content:"Content-Disposition|3a 20|form-data|3b 20|name|3d 22|fileparam|22|";
content:"login.html"; within:20;
content:"Content-Disposition|3a 20|form-data|3b 20|name|3d 22|file|22 3b|";
content:"filename|3d 22|login.html|22|"; within:30;
pcre:"/^.*(?:on(?:(?:error)|(?:s(?:elec|ubmi)|rese)t|d(?:blclick|ragdrop)|(?:mouse|key)[a-z]|c(?:hange|lick)|(?:un)?load|focus|blur)|s(?:cript|tyle))(?:=|%3[dD])?/Ri";
reference:url,www.iotsec-zone.com/article/383;
reference:cve,2023-20073;
classtype:web-application-attack;
sid:2063621; rev:1;
metadata:affected_product Cisco_RV_Series, attack_target Networking_Equipment, tls_state plaintext, created_at 2025_07_21, cve CVE_2023_20073, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2025_07_21, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)