On this page
Atomicorp WAF Rule 345493
Rule Summary
- Rule ID: 345493
- Status: Active
- Alert message: Possible CSRF Attack - Suspicious Score
- Observed CWEs: CWE-20 (3), CWE-22 (3), CWE-79 (20), CWE-89 (15), CWE-94 (1), CWE-269 (1), CWE-284 (1), CWE-287 (2), CWE-294 (1), CWE-327 (1), CWE-352 (4), CWE-425 (1), CWE-434 (7), CWE-521 (1), CWE-611 (2), CWE-732 (1), CWE-798 (1), CWE-918 (1)
- Reviewed CWE mapping: CWE-352 (Cross-Site Request Forgery (CSRF))
- Rule severity: Warning (4)
- Phase: 1 (request headers)
- Rule action: pass
- Public tags: ASL/CSRF
- Logging: log, auditlog
Description
Rule 345493 is generated when Atomicorp’s scored Cross-Site Request Forgery (CSRF) detector calculates a transaction score from 5 through 7. The request contains enough browser-provenance, Origin or Referer, cookie, or credential indicators to warrant investigation, but the evidence has not reached the high-confidence threshold. This rule logs the request and does not deny it or set an HTTP response status. Another rule may independently block the same transaction.
A validated Sec-Fetch-Site: cross-site signal contributes 5 points and can produce this event without another mismatch. The alert is not proof that an attack succeeded. POST, PUT, PATCH, and DELETE only enable evaluation and are not attacks merely because of their method.
Troubleshooting
Review the request URI, method, final score, fetch_site, origin, origin_authority, referer, referer_authority, cookies, and credentials. Determine whether the source is expected for that endpoint and whether the user session and application action make sense.
Common legitimate causes include intentional cross-origin submissions, SAML or OIDC authentication flows, payment-provider browser returns, cross-origin browser APIs, application topology spanning multiple origins, and proxies or middleware affecting provenance headers. If the source is expected, use a narrow local exemption. If it is unexpected, investigate the request and associated session.
False Positives
Legitimate cross-origin application flows can intentionally produce the characteristics used by the detector. If the transaction is expected, configure a narrowly scoped local exemption rather than modifying the Atomicorp rule. If traffic should not meet the documented conditions, report the event to Atomicorp Support as a possible false positive.
Tuning Guidance
Do not edit 70_asl_csrf_experimental_v2.conf or any other Atomicorp-managed rule file. Place application-specific tuning in customer-owned local ModSecurity configuration. Use an unused customer rule ID in the 1-99999 range and never reuse an Atomicorp 300000-399999 ID.
For a legitimate endpoint, set TX:ASL_CSRF_EXEMPT=1 from an earlier phase-1 local rule, narrowed by Host and path where practical:
SecRule REQUEST_URI "@beginsWith /oidc/callback" \
"id:91008,phase:1,pass,nolog,noauditlog,t:none,setvar:tx.asl_csrf_exempt=1"
The application must continue performing its own protocol-specific validation. Local transaction-variable tuning must execute before the CSRF ruleset. Standard SecRuleRemoveById customization follows the normal Atomicorp process and is distinct; globally removing 345493 suppresses suspicious-score visibility for every application and should not be the first choice for one expected endpoint.
Configuration Notes
- Effective condition:
TX:ASL_CSRF_SCORE >= 5and< 8. - Action: pass; phase 1; logged and audit logged; no HTTP denial status is set.
- Missing usable Fetch Metadata, Origin, or Referer is telemetry only and adds no score.
- Safe methods are skipped unless a local application profile identifies a known state-changing operation.
Additional Information
Score model
| Signal | Score |
|---|---|
Sec-Fetch-Site: cross-site | +5 |
Sec-Fetch-Site: same-site | +1 |
| Multiple, null, malformed, or Host-mismatched Origin | +3 |
| Multiple, malformed, or Host-mismatched Referer when Origin is absent | +3 |
| Cookies present | +1 |
| Recognized session cookie or ambient Basic, Digest, Negotiate, or NTLM authentication | +2 |
| No usable Fetch Metadata, Origin, or Referer | +0; telemetry only |
Origin takes precedence over Referer. Authority comparison ignores scheme and normalizes default ports. Cookies indicate browser-managed state but do not prove authentication. Bearer tokens are excluded from built-in ambient authentication, and a CSRF token or header is not automatically trusted.
Event fields
score is the final risk score; method is the HTTP method; host is the routed target authority; fetch_site is the validated Fetch Metadata value; provenance=unavailable means no usable provenance was present and does not itself indicate an attack; origin and referer describe parsing and comparison results; their _authority fields contain normalized parsed authorities; cookies=present adds one point; and credentials identifies recognized ambient state such as session-cookie or http-auth.
Example
Sec-Fetch-Site: cross-site contributes 5 points, producing rule 345493 when no additional evidence raises the score. The event should be investigated, but this rule did not block the request.
Similar Rules
345490 enforces scores of 10 or greater when enabled. 345491 records critical detection-only events. 345492 records scores 8-9.
Outside References
- Atomicorp ModSecurity guidance
- Atomicorp rule tuning guidance
- W3C Fetch Metadata (opens in a new tab)
- OWASP CSRF Prevention Cheat Sheet (opens in a new tab)
Selected Related CVEs
This is a selected list of documented research observations, not an exhaustive coverage matrix. Absence of a CVE does not imply absence of protection.
| CVE | Vulnerability | Product | CVSS | Severity |
|---|---|---|---|---|
| CVE-2017-16935 | Ametys CMS 4.0.2 - Password Reset | ametys | 9.8 (v3.0) | Critical |
| CVE-2017-16949 | Accesspress Anonymous Post Pro < 3.2.0 - Arbitrary File Upload | anonymous post pro | 9.8 (v3.0) | Critical |
| CVE-2017-7402 | Pixie 1.0.4 - Arbitrary File Upload | pixie | 9.8 (v3.0) | Critical |
| CVE-2018-11535 | Sitemakin SLAC 1.0 - 'my_item_search' SQL Injection | slac | 9.8 (v3.0) | Critical |
| CVE-2019-1935 | Cisco UCS Director_ Cisco Integrated Management Controller Supervisor and Cisco UCS Director Express for Big Data - Multiple Vulnerabilities | integrated management controller supervisor | 9.8 (v3.1) | Critical |
| CVE-2019-1937 | Cisco UCS Director_ Cisco Integrated Management Controller Supervisor and Cisco UCS Director Express for Big Data - Multiple Vulnerabilities | integrated management controller supervisor | 9.8 (v3.0) | Critical |
| CVE-2020-24193 | Daily Tracker System 1.0 - Authentication Bypass | daily tracker system | 9.8 (v3.1) | Critical |
| CVE-2021-3278 | Local Service Search Engine Management System 1.0 - SQLi Authentication Bypass | local services search engine management system | 9.8 (v3.1) | Critical |
| CVE-2021-43140 | Simple Subscription Website 1.0 - SQLi Authentication Bypass | simple subscription website | 9.8 (v3.1) | Critical |
| CVE-2022-1040 | Sophos XG115w Firewall 17.0.10 MR-10 - Authentication Bypass | sfos | 9.8 (v3.1) | Critical |
| CVE-2022-31188 | CVAT 2.0 - Server Side Request Forgery | computer vision annotation tool | 9.8 (v3.1) | Critical |
| CVE-2022-40032 | Simple Task Managing System v1.0 - SQL Injection (Unauthenticated) | simple task managing system | 9.8 (v3.1) | Critical |
| CVE-2018-1821 | IBM Operational Decision Manager 8.x - XML External Entity Injection | operational decision manager | 9.1 (v3.0) | Critical |
| CVE-2017-6823 | Fiyo CMS 2.0.6.1 - Privilege Escalation | fiyo cms | 8.8 (v3.0) | High |
| CVE-2018-11442 | EasyService Billing 1.0 - Cross-Site Request Forgery | easyservice billing | 8.8 (v3.0) | High |
| CVE-2018-11445 | EasyService Billing 1.0 - Cross-Site Request Forgery | easyservice billing | 8.8 (v3.0) | High |
| CVE-2019-15813 | Sentrifugo 3.2 - File Upload Restriction Bypass | sentrifugo | 8.8 (v3.1) | High |
| CVE-2020-35151 | Online Marriage Registration System 1.0 - 'searchdata' SQL Injection | online marriage registration system | 8.8 (v3.1) | High |
| CVE-2020-5192 | Hospital Management System 4.0 - 'searchdata' SQL Injection | hospital management system | 8.8 (v3.1) | High |
| CVE-2020-6010 | WordPress Plugin LearnPress 3.2.6.7 - 'current_items' SQL Injection (Authenticated) | learnpress | 8.8 (v3.1) | High |
| CVE-2020-7991 | Adive Framework 2.0.8 - Cross-Site Request Forgery (Change Admin Password) | framework | 8.8 (v3.1) | High |
| CVE-2020-8639 | TestLink 1.9.20 - Unrestricted File Upload (Authenticated) | testlink | 8.8 (v3.1) | High |
| CVE-2021-46398 | FileBrowser 2.17.2 - Cross Site Request Forgery (CSRF) to Remote Code Execution (RCE) | filebrowser | 8.8 (v3.1) | High |
| CVE-2022-28079 | College Management System 1.0 - 'course_code' SQL Injection (Authenticated) | college management system | 8.8 (v3.1) | High |
| CVE-2022-28080 | Royal Event Management System 1.0 - 'todate' SQL Injection (Authenticated) | event management system | 8.8 (v3.1) | High |
| CVE-2023-0916 | Auto Dealer Management System 1.0 - Broken Access Control Exploit | auto dealer management system | 8.8 (v3.1) | High |
| CVE-2017-12615 | Apache Tomcat < 9.0.1 (Beta) / < 8.5.23 / < 8.0.47 / < 7.0.8 - JSP Upload Bypass / Remote Code Execution (1) | tomcat | 8.1 (v3.1) | High |
| CVE-2017-12617 | Apache Tomcat < 9.0.1 (Beta) / < 8.5.23 / < 8.0.47 / < 7.0.8 - JSP Upload Bypass / Remote Code Execution (1) | tomcat | 8.1 (v3.1) | High |
| CVE-2017-14335 | Hanbanggaoke IP Camera - Arbitrary Password Change | hb7024xt firmware | 7.5 (v3.0) | High |
| CVE-2018-15535 | Responsive FileManager < 9.13.4 - Directory Traversal | responsive filemanager | 7.5 (v3.0) | High |
| CVE-2022-21661 | WordPress Core 5.8.2 - 'WP_Query' SQL Injection | WordPress | 7.5 (v3.1) | High |
| CVE-2022-42953 | ZKTeco ZEM/ZMM 8.88 - Missing Authentication | zmm200 firmware | 7.5 (v3.1) | High |
| CVE-2023-0905 | Employee Task Management System v1.0 - Broken Authentication | employee task management system | 7.5 (v3.1) | High |
| CVE-2019-1936 | Cisco UCS Director_ Cisco Integrated Management Controller Supervisor and Cisco UCS Director Express for Big Data - Multiple Vulnerabilities | integrated management controller supervisor | 7.2 (v3.1) | High |
| CVE-2024-10758 | NEWS-BUZZ News Management System 1.0 - SQL Injection | news-buzz | 6.9 (v4.0) | Medium |
| CVE-2017-6338 | Trend Micro InterScan Web Security Virtual Appliance (IWSVA) 6.5 SP2 - Multiple Vulnerabilities | interscan web security virtual appliance | 6.5 (v3.0) | Medium |
| CVE-2017-6339 | Trend Micro InterScan Web Security Virtual Appliance (IWSVA) 6.5 SP2 - Multiple Vulnerabilities | interscan web security virtual appliance | 6.5 (v3.0) | Medium |
| CVE-2019-19743 | D-Link DIR-615 - Privilege Escalation | dir-615 t1 firmware | 6.5 (v3.1) | Medium |
| CVE-2019-8394 | Zoho ManageEngine ServiceDesk Plus (SDP) < 10.0 build 10012 - Arbitrary File Upload | manageengine servicedesk plus | 6.5 (v3.1) | Medium |
| CVE-2018-18308 | BigTree CMS 4.2.23 - Cross-Site Scripting | bigtree cms | 6.1 (v3.0) | Medium |
| CVE-2018-20367 | WSTMart 2.0.8 - Cross-Site Scripting | wstmart | 6.1 (v3.0) | Medium |
| CVE-2019-11846 | dotCMS 5.1.1 - HTML Injection | dotcms | 6.1 (v3.0) | Medium |
| CVE-2019-14427 | Ultimate Loan Manager 2.0 - Cross-Site Scripting | ultimate loan manager | 6.1 (v3.0) | Medium |
| CVE-2020-12707 | LeptonCMS 4.5.0 - Persistent Cross-Site Scripting | lepton cms | 6.1 (v3.1) | Medium |
| CVE-2020-15599 | Victor CMS 1.0 - 'user_firstname' Persistent Cross-Site Scripting | victor cms | 6.1 (v3.1) | Medium |
| CVE-2020-5191 | Hospital Management System 4.0 - Persistent Cross-Site Scripting | hospital management system | 6.1 (v3.1) | Medium |
| CVE-2020-8549 | WordPress Plugin Strong Testimonials 2.40.1 - Persistent Cross-Site Scripting | strong testimonials | 6.1 (v3.1) | Medium |
| CVE-2022-35155 | Bus Pass Management System 1.0 - Cross-Site Scripting (XSS) | bus pass management system | 6.1 (v3.1) | Medium |
| CVE-2023-46020 | Blood Bank v1.0 - Stored Cross Site Scripting (XSS) | blood bank | 6.1 (v3.1) | Medium |
| CVE-2024-36599 | AEGON LIFE v1.0 Life Insurance Management System - Stored cross-site scripting (XSS) | life insurance management system | 6.1 (v3.1) | Medium |
| CVE-2018-15536 | Responsive FileManager < 9.13.4 - Directory Traversal | responsive filemanager | 5.5 (v3.0) | Medium |
| CVE-2019-17554 | Apache Olingo OData 4.0 - XML External Entity Injection | olingo | 5.5 (v3.1) | Medium |
| CVE-2023-46014 | Blood Bank v1.0 - Multiple SQL Injection | blood bank | 5.5 (v3.1) | Medium |
| CVE-2023-46017 | Blood Bank v1.0 - Multiple SQL Injection | blood bank | 5.5 (v3.1) | Medium |
| CVE-2023-46018 | Blood Bank v1.0 - Multiple SQL Injection | blood bank | 5.5 (v3.1) | Medium |
| CVE-2017-6340 | Trend Micro InterScan Web Security Virtual Appliance (IWSVA) 6.5 SP2 - Multiple Vulnerabilities | interscan web security virtual appliance | 5.4 (v3.0) | Medium |
| CVE-2020-10385 | WordPress Plugin WPForms 1.5.8.2 - Persistent Cross-Site Scripting | contact form | 5.4 (v3.1) | Medium |
| CVE-2020-11457 | pfSense 2.4.4-P3 - 'User Manager' Persistent Cross-Site Scripting | pfsense | 5.4 (v3.1) | Medium |
| CVE-2020-15038 | Wordpress Plugin Maintenance Mode by SeedProd 5.1.1 - Persistent Cross-Site Scripting | coming soon page, under construction & maintenance mode | 5.4 (v3.1) | Medium |
| CVE-2020-27533 | DedeCMS v.5.8 - keyword Cross-Site Scripting | dedecms | 5.4 (v3.1) | Medium |
| CVE-2020-29233 | WonderCMS 3.1.3 - 'content' Persistent Cross-Site Scripting | wondercms | 5.4 (v3.1) | Medium |
| CVE-2022-34140 | Feehi CMS 2.1.1 - Remote Code Execution (Authenticated) | feehi cms | 5.4 (v3.1) | Medium |
| CVE-2023-3187 | Teachers Record Management System 1.0 - File Upload Type Validation | teachers record management system | 5.4 (v3.1) | Medium |
| CVE-2023-3184 | Sales Tracker Management System v1.0 - Multiple Vulnerabilities | sales tracker management system | 4.8 (v3.1) | Medium |
| CVE-2024-24050 | Workout Journal App 1.0 - Stored XSS | workout journal app | 4.7 (v3.1) | Medium |
| CVE-2022-0377 | WordPress Plugin Learnpress 4.1.4.1 - Arbitrary Image Renaming | learnpress | 4.3 (v3.1) | Medium |
| CVE-2014-1222 | Fiyo CMS 2.0.1.8 - Multiple Vulnerabilities | vtiger crm | 4.0 (v2.0) | Medium |
| CVE-2024-24497 | Employee Management System 1.0 - txtusername and txtpassword SQL Injection (Admin Login) | - | N/A | N/A |
Observed CWEs
These CWEs are recorded on published CVEs in the selected observations associated with this rule. They are observational relationships, not a claim that the rule universally blocks every vulnerability assigned to a CWE.
Reviewed CWE Mapping
These are explicit, human-reviewed mappings of this rule’s documented detection purpose. They are distinct from Observed CWEs derived from published CVE test evidence.
| CWE | Mapping basis | Confidence | Verified |
|---|---|---|---|
| CWE-352: Cross-Site Request Forgery (CSRF) | The rule's documented purpose is detecting suspicious-score cross-site request forgery activity. | high | 2026-08-09 |