Sigma rule: Potential CVE-2023-25157 Exploitation Attempt

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-a3cb8880ad8b, updated 2023-06-14T00:00:00.000Z.

Rule

Title
Potential CVE-2023-25157 Exploitation Attempt
Status
test
Level
high
Author
Nasreddine Bencherchali (Nextron Systems)
Date
2023-06-14
File
rules-emerging-threats/2023/Exploits/CVE-2023-25157/web_cve_2023_25157_geoserver_sql_injection.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects a potential exploitation attempt of CVE-2023-25157 a SQL injection in GeoServer

Log source

category
webserver

Detection

selection_url:
    cs-method: 'GET'
    cs-uri-query|contains|all:
        - '/geoserver/ows'
        - 'CQL_FILTER='
    cs-uri-query|contains:
        # Abusable Filters/Function as reported in the Advisory
        - 'PropertyIsLike'
        - 'strEndsWith'
        - 'strStartsWith'
        - 'FeatureId'
        - 'jsonArrayContains'
        - 'DWithin'
selection_payload:
    cs-uri-query|contains:
        - '+--'
        - '+AS+'
        - '+OR+'
        - 'FROM'
        - 'ORDER+BY'
        - 'SELECT'
        - 'sleep%28'
        - 'substring%28'
        - 'UNION'
        - 'WHERE'
condition: all of selection_*

False positives (as the rule lists them)

  • Vulnerability scanners

Tags

  • attack.initial-access
  • cve.2023-25157
  • detection.emerging-threats

CVEs this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2023/Exploits/CVE-2023-25157/web_cve_2023_25157_geoserver_sql_injection.yml

Sources and licences

  • SigmaHQ

    "Potential CVE-2023-25157 Exploitation Attempt" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2023/Exploits/CVE-2023-25157/web_cve_2023_25157_geoserver_sql_injection.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Potential CVE-2023-25157 Exploitation Attempt",
entity page, dataset version ref-a3cb8880ad8b, updated 2023-06-14T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/c0341543-5ed0-4475-aabc-7eea8c52aa66 (accessed 2026-11-03).
Underlying source: SigmaHQ rule c0341543-5ed0-4475-aabc-7eea8c52aa66, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.