alert http any any -> [$HOME_NET,$HTTP_SERVERS] any (
msg:"ET WEB_SPECIFIC_APPS Mathis Dirksen-Thedens ZephyrSoft Toolbox Address Book Continued (ABC) functions.php SQL Injection via id Parameter (CVE-2007-1122)";
flow:established,to_server;
http.uri;
content:"/functions.php?"; fast_pattern; nocase;
content:"id="; nocase;
pcre:"/^(?:(?:S(?:HOW\x20(?:C(?:UR(?:DAT|TIM)E|HARACTER\x20SET)|(?:VARI|T)ABLES)|ELECT\x20(?:FROM|USER|SLEEP))|U(?:NION\x20SELEC|PDATE\x20SE)T|DELETE\x20FROM|INSERT\x20INTO)|S(?:HOW.+(?:C(?:HARACTER.+SET|UR(DATE|TIME))|(?:VARI|T)ABLES)|ELECT.+(?:FROM|USER))|U(?:NION.+SELEC|PDATE.+SE)T|DELETE.+FROM|INSERT.+INTO|\x2f\*.+\*\x2f)/Ri";
reference:cve,2007-1122;
reference:url,www.securityfocus.com/bid/22685;
classtype:web-application-attack;
sid:2004803; rev:9;
metadata:affected_product Web_Server_Applications, attack_target Web_Server, tls_state TLSDecrypt, created_at 2010_07_30, cve CVE_2007_1122, deployment Datacenter, deployment SSLDecrypt, confidence Medium, signature_severity Major, tag SQL_Injection, updated_at 2026_04_30, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)