Update wordpress-yoast-seo-user-enumeration.yaml

patch-1
Ritik Chaddha 2023-10-08 13:50:56 +05:30 committed by GitHub
parent 06082e2559
commit 1b9dd8c57d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 16 deletions

View File

@ -1,32 +1,40 @@
id: wordpress-yoast-seo-user-enumeration
id: wp-yoast-user-enumeration
info:
name: WordPress Yoast SEO Plugin User Enumeration
name: WordPress Yoast SEO Plugin - User Enumeration
author: FLX
severity: info
tags: wordpress,enum
reference:
- https://developer.yoast.com/features/xml-sitemaps/functional-specification/
metadata:
max-request: 1
verified: true
google-dork: inurl:"/author-sitemap.xml"
tags: wp,wp-plugin,wordpress,username,disclosure
http:
- method: GET
path:
- "{{BaseURL}}/author-sitemap.xml"
- raw:
- |
@timeout: 15s
GET /author-sitemap.xml HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
words:
- "xml"
part: body
words:
- "<?xml"
- "<lastmod>"
- "<loc>"
condition: and
- type: word
part: header
words:
- "<loc>"
part: body
extractors:
- type: regex
part: body
group: 1
regex:
- "<loc>https?://.*/author/([^<]+)/</loc>"
- "application/xml"
- "text/xml"
- type: status
status:
- 200