title: 'CVE-2023-34124 Exploit Attempt: SonicWall GMS and Analytics Web Services - Shell Injection'
id: '2adef292-90d8-584e-aea6-2ed21ea8054c'
status: 'experimental'
description: 'A web request matching the public nuclei template for CVE-2023-34124 (SonicWall GMS and Analytics Web Services - Shell Injection). The attack is visible in the URL. The rule matches the path and the parameters it uses, not the template''s exact payload, so a variant still hits and so can ordinary use of the same parameters. A hit means someone sent this request: an exploit attempt or a scanner. It does not mean the attempt worked. Derived from the template by fixed rules, not written by hand; read it before you rely on it.'
references:
    - 'https://github.com/projectdiscovery/nuclei-templates/blob/f3230325748bc22e9a3319dc01a1692687170d99/http/cves/2023/CVE-2023-34124.yaml'
    - 'https://nvd.nist.gov/vuln/detail/CVE-2023-34124'
author: 'thrunt.me, derived from projectdiscovery/nuclei-templates (MIT)'
date: '2026-11-12'
modified: '2026-11-12'
tags:
    - 'attack.initial-access'
    - 'attack.t1190'
    - 'cve.2023-34124'
    - 'detection.emerging-threats'
logsource:
    category: 'webserver'
detection:
    selection:
        cs-method: 'GET'
        cs-uri-stem|contains: '/ws/msw/tenant/%27%20union%20select%20%28select%20ID%20from%20SGMSDB.DOMAINS%20limit%201%29%2C%20%27%27%2C%20%27%27%2C%20%27%27%2C%20%27%27%2C%20%27%27%2C%20%28select%20concat%28id%2C%20%27%3A%27%2C%20password%29%20from%20sgmsdb.users%20where%20active%20%3D%20%271%27%20order%20by%20issuperadmin%20desc%20limit%201%20offset%200%29%2C%27%27%2C%20%27%27%2C%20%27'
    condition: 'selection'
falsepositives:
    - 'Vulnerability scanners and penetration tests that send the same template request.'
level: 'low'
