HexBrain

Browse / CVEs / CVE-2024-24116

CVE-2024-24116· ruijie / rg-nbs2009g-p, rg-nbs2009g-p firmware· CWE-287

Ruijie RG-NBS2009G-P - Improper Authentication

criticalseverity
9.8CVSS score
28.4%likelihood of exploitation, next 30 days
98%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Update Ruijie RG-NBS2009G-P firmware to a version that addresses CVE-2024-24116.

How to confirm it

Send: GET {{BaseURL}}/system/config_menu.htm
Positive when: contains "configManage.asp" and "reinitIframe()" AND status 200

Run it with nuclei: nuclei -id CVE-2024-24116 -u <target>

The full check
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.98141
    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

References

Use this check only on systems you are authorised to test. Where the data comes from