On this page

Atomicorp WAF Rule 345493

Rule Summary

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 >= 5 and < 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

SignalScore
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

This is a selected list of documented research observations, not an exhaustive coverage matrix. Absence of a CVE does not imply absence of protection.

CVEVulnerabilityProductCVSSSeverity
CVE-2017-16935Ametys CMS 4.0.2 - Password Resetametys9.8 (v3.0)Critical
CVE-2017-16949Accesspress Anonymous Post Pro < 3.2.0 - Arbitrary File Uploadanonymous post pro9.8 (v3.0)Critical
CVE-2017-7402Pixie 1.0.4 - Arbitrary File Uploadpixie9.8 (v3.0)Critical
CVE-2018-11535Sitemakin SLAC 1.0 - 'my_item_search' SQL Injectionslac9.8 (v3.0)Critical
CVE-2019-1935Cisco UCS Director_ Cisco Integrated Management Controller Supervisor and Cisco UCS Director Express for Big Data - Multiple Vulnerabilitiesintegrated management controller supervisor9.8 (v3.1)Critical
CVE-2019-1937Cisco UCS Director_ Cisco Integrated Management Controller Supervisor and Cisco UCS Director Express for Big Data - Multiple Vulnerabilitiesintegrated management controller supervisor9.8 (v3.0)Critical
CVE-2020-24193Daily Tracker System 1.0 - Authentication Bypassdaily tracker system9.8 (v3.1)Critical
CVE-2021-3278Local Service Search Engine Management System 1.0 - SQLi Authentication Bypasslocal services search engine management system9.8 (v3.1)Critical
CVE-2021-43140Simple Subscription Website 1.0 - SQLi Authentication Bypasssimple subscription website9.8 (v3.1)Critical
CVE-2022-1040Sophos XG115w Firewall 17.0.10 MR-10 - Authentication Bypasssfos9.8 (v3.1)Critical
CVE-2022-31188CVAT 2.0 - Server Side Request Forgerycomputer vision annotation tool9.8 (v3.1)Critical
CVE-2022-40032Simple Task Managing System v1.0 - SQL Injection (Unauthenticated)simple task managing system9.8 (v3.1)Critical
CVE-2018-1821IBM Operational Decision Manager 8.x - XML External Entity Injectionoperational decision manager9.1 (v3.0)Critical
CVE-2017-6823Fiyo CMS 2.0.6.1 - Privilege Escalationfiyo cms8.8 (v3.0)High
CVE-2018-11442EasyService Billing 1.0 - Cross-Site Request Forgeryeasyservice billing8.8 (v3.0)High
CVE-2018-11445EasyService Billing 1.0 - Cross-Site Request Forgeryeasyservice billing8.8 (v3.0)High
CVE-2019-15813Sentrifugo 3.2 - File Upload Restriction Bypasssentrifugo8.8 (v3.1)High
CVE-2020-35151Online Marriage Registration System 1.0 - 'searchdata' SQL Injectiononline marriage registration system8.8 (v3.1)High
CVE-2020-5192Hospital Management System 4.0 - 'searchdata' SQL Injectionhospital management system8.8 (v3.1)High
CVE-2020-6010WordPress Plugin LearnPress 3.2.6.7 - 'current_items' SQL Injection (Authenticated)learnpress8.8 (v3.1)High
CVE-2020-7991Adive Framework 2.0.8 - Cross-Site Request Forgery (Change Admin Password)framework8.8 (v3.1)High
CVE-2020-8639TestLink 1.9.20 - Unrestricted File Upload (Authenticated)testlink8.8 (v3.1)High
CVE-2021-46398FileBrowser 2.17.2 - Cross Site Request Forgery (CSRF) to Remote Code Execution (RCE)filebrowser8.8 (v3.1)High
CVE-2022-28079College Management System 1.0 - 'course_code' SQL Injection (Authenticated)college management system8.8 (v3.1)High
CVE-2022-28080Royal Event Management System 1.0 - 'todate' SQL Injection (Authenticated)event management system8.8 (v3.1)High
CVE-2023-0916Auto Dealer Management System 1.0 - Broken Access Control Exploitauto dealer management system8.8 (v3.1)High
CVE-2017-12615Apache Tomcat < 9.0.1 (Beta) / < 8.5.23 / < 8.0.47 / < 7.0.8 - JSP Upload Bypass / Remote Code Execution (1)tomcat8.1 (v3.1)High
CVE-2017-12617Apache Tomcat < 9.0.1 (Beta) / < 8.5.23 / < 8.0.47 / < 7.0.8 - JSP Upload Bypass / Remote Code Execution (1)tomcat8.1 (v3.1)High
CVE-2017-14335Hanbanggaoke IP Camera - Arbitrary Password Changehb7024xt firmware7.5 (v3.0)High
CVE-2018-15535Responsive FileManager < 9.13.4 - Directory Traversalresponsive filemanager7.5 (v3.0)High
CVE-2022-21661WordPress Core 5.8.2 - 'WP_Query' SQL InjectionWordPress7.5 (v3.1)High
CVE-2022-42953ZKTeco ZEM/ZMM 8.88 - Missing Authenticationzmm200 firmware7.5 (v3.1)High
CVE-2023-0905Employee Task Management System v1.0 - Broken Authenticationemployee task management system7.5 (v3.1)High
CVE-2019-1936Cisco UCS Director_ Cisco Integrated Management Controller Supervisor and Cisco UCS Director Express for Big Data - Multiple Vulnerabilitiesintegrated management controller supervisor7.2 (v3.1)High
CVE-2024-10758NEWS-BUZZ News Management System 1.0 - SQL Injectionnews-buzz6.9 (v4.0)Medium
CVE-2017-6338Trend Micro InterScan Web Security Virtual Appliance (IWSVA) 6.5 SP2 - Multiple Vulnerabilitiesinterscan web security virtual appliance6.5 (v3.0)Medium
CVE-2017-6339Trend Micro InterScan Web Security Virtual Appliance (IWSVA) 6.5 SP2 - Multiple Vulnerabilitiesinterscan web security virtual appliance6.5 (v3.0)Medium
CVE-2019-19743D-Link DIR-615 - Privilege Escalationdir-615 t1 firmware6.5 (v3.1)Medium
CVE-2019-8394Zoho ManageEngine ServiceDesk Plus (SDP) < 10.0 build 10012 - Arbitrary File Uploadmanageengine servicedesk plus6.5 (v3.1)Medium
CVE-2018-18308BigTree CMS 4.2.23 - Cross-Site Scriptingbigtree cms6.1 (v3.0)Medium
CVE-2018-20367WSTMart 2.0.8 - Cross-Site Scriptingwstmart6.1 (v3.0)Medium
CVE-2019-11846dotCMS 5.1.1 - HTML Injectiondotcms6.1 (v3.0)Medium
CVE-2019-14427Ultimate Loan Manager 2.0 - Cross-Site Scriptingultimate loan manager6.1 (v3.0)Medium
CVE-2020-12707LeptonCMS 4.5.0 - Persistent Cross-Site Scriptinglepton cms6.1 (v3.1)Medium
CVE-2020-15599Victor CMS 1.0 - 'user_firstname' Persistent Cross-Site Scriptingvictor cms6.1 (v3.1)Medium
CVE-2020-5191Hospital Management System 4.0 - Persistent Cross-Site Scriptinghospital management system6.1 (v3.1)Medium
CVE-2020-8549WordPress Plugin Strong Testimonials 2.40.1 - Persistent Cross-Site Scriptingstrong testimonials6.1 (v3.1)Medium
CVE-2022-35155Bus Pass Management System 1.0 - Cross-Site Scripting (XSS)bus pass management system6.1 (v3.1)Medium
CVE-2023-46020Blood Bank v1.0 - Stored Cross Site Scripting (XSS)blood bank6.1 (v3.1)Medium
CVE-2024-36599AEGON LIFE v1.0 Life Insurance Management System - Stored cross-site scripting (XSS)life insurance management system6.1 (v3.1)Medium
CVE-2018-15536Responsive FileManager < 9.13.4 - Directory Traversalresponsive filemanager5.5 (v3.0)Medium
CVE-2019-17554Apache Olingo OData 4.0 - XML External Entity Injectionolingo5.5 (v3.1)Medium
CVE-2023-46014Blood Bank v1.0 - Multiple SQL Injectionblood bank5.5 (v3.1)Medium
CVE-2023-46017Blood Bank v1.0 - Multiple SQL Injectionblood bank5.5 (v3.1)Medium
CVE-2023-46018Blood Bank v1.0 - Multiple SQL Injectionblood bank5.5 (v3.1)Medium
CVE-2017-6340Trend Micro InterScan Web Security Virtual Appliance (IWSVA) 6.5 SP2 - Multiple Vulnerabilitiesinterscan web security virtual appliance5.4 (v3.0)Medium
CVE-2020-10385WordPress Plugin WPForms 1.5.8.2 - Persistent Cross-Site Scriptingcontact form5.4 (v3.1)Medium
CVE-2020-11457pfSense 2.4.4-P3 - 'User Manager' Persistent Cross-Site Scriptingpfsense5.4 (v3.1)Medium
CVE-2020-15038Wordpress Plugin Maintenance Mode by SeedProd 5.1.1 - Persistent Cross-Site Scriptingcoming soon page, under construction &amp; maintenance mode5.4 (v3.1)Medium
CVE-2020-27533DedeCMS v.5.8 - keyword Cross-Site Scriptingdedecms5.4 (v3.1)Medium
CVE-2020-29233WonderCMS 3.1.3 - 'content' Persistent Cross-Site Scriptingwondercms5.4 (v3.1)Medium
CVE-2022-34140Feehi CMS 2.1.1 - Remote Code Execution (Authenticated)feehi cms5.4 (v3.1)Medium
CVE-2023-3187Teachers Record Management System 1.0 - File Upload Type Validationteachers record management system5.4 (v3.1)Medium
CVE-2023-3184Sales Tracker Management System v1.0 - Multiple Vulnerabilitiessales tracker management system4.8 (v3.1)Medium
CVE-2024-24050Workout Journal App 1.0 - Stored XSSworkout journal app4.7 (v3.1)Medium
CVE-2022-0377WordPress Plugin Learnpress 4.1.4.1 - Arbitrary Image Renaminglearnpress4.3 (v3.1)Medium
CVE-2014-1222Fiyo CMS 2.0.1.8 - Multiple Vulnerabilitiesvtiger crm4.0 (v2.0)Medium
CVE-2024-24497Employee Management System 1.0 - txtusername and txtpassword SQL Injection (Admin Login)-N/AN/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.

CWERelated Published CVEs
CWE-20CVE-2017-16935 , CVE-2017-14335 , CVE-2019-1936
CWE-22CVE-2018-15535 , CVE-2018-15536 , CVE-2014-1222
CWE-79CVE-2018-18308 , CVE-2018-20367 , CVE-2019-11846 , CVE-2019-14427 , CVE-2020-12707 , CVE-2020-15599 , CVE-2020-5191 , CVE-2020-8549 , CVE-2022-35155 , CVE-2023-46020 , CVE-2024-36599 , CVE-2017-6340 , CVE-2020-10385 , CVE-2020-11457 , CVE-2020-15038 , CVE-2020-27533 , CVE-2020-29233 , CVE-2022-34140 , CVE-2023-3184 , CVE-2024-24050
CWE-89CVE-2018-11535 , CVE-2020-24193 , CVE-2021-3278 , CVE-2021-43140 , CVE-2022-40032 , CVE-2020-35151 , CVE-2020-5192 , CVE-2020-6010 , CVE-2022-28079 , CVE-2022-28080 , CVE-2022-21661 , CVE-2024-10758 , CVE-2023-46014 , CVE-2023-46017 , CVE-2023-46018
CWE-94CVE-2017-7402
CWE-269CVE-2017-6339
CWE-284CVE-2023-0916
CWE-287CVE-2019-1937 , CVE-2023-0905
CWE-294CVE-2017-6823
CWE-327CVE-2022-0377
CWE-352CVE-2018-11442 , CVE-2018-11445 , CVE-2020-7991 , CVE-2021-46398
CWE-425CVE-2022-42953
CWE-434CVE-2017-16949 , CVE-2019-15813 , CVE-2020-8639 , CVE-2017-12615 , CVE-2017-12617 , CVE-2019-8394 , CVE-2023-3187
CWE-521CVE-2017-6339
CWE-611CVE-2018-1821 , CVE-2019-17554
CWE-732CVE-2017-6338
CWE-798CVE-2019-1935
CWE-918CVE-2022-31188

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.

CWEMapping basisConfidenceVerified
CWE-352: Cross-Site Request Forgery (CSRF)The rule's documented purpose is detecting suspicious-score cross-site request forgery activity.high2026-08-09