2021-12-18 07:19:47 +00:00
|
|
|
id: wordpress-detect
|
|
|
|
|
|
|
|
info:
|
2022-10-25 06:09:19 +00:00
|
|
|
name: WordPress Detect
|
2023-06-24 22:25:54 +00:00
|
|
|
author: pdteam,daffainfo,ricardomaia,topscoder,AdamCrosser
|
2021-12-18 07:19:47 +00:00
|
|
|
severity: info
|
|
|
|
metadata:
|
2022-10-20 14:33:49 +00:00
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 4
|
2023-06-24 22:25:54 +00:00
|
|
|
vendor: wordpress
|
|
|
|
product: wordpress
|
2023-10-14 11:27:55 +00:00
|
|
|
shodan-query: http.component:"WordPress"
|
2023-06-24 22:25:54 +00:00
|
|
|
category: cms
|
2022-10-25 06:09:19 +00:00
|
|
|
tags: tech,wordpress,cms,wp
|
2021-12-18 07:19:47 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-12-18 07:19:47 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
2022-11-15 03:23:46 +00:00
|
|
|
- "{{BaseURL}}"
|
2022-11-16 15:35:00 +00:00
|
|
|
- "{{BaseURL}}/wp-admin/install.php"
|
2022-11-15 11:30:51 +00:00
|
|
|
- "{{BaseURL}}/feed/"
|
2022-11-15 03:23:46 +00:00
|
|
|
- "{{BaseURL}}/?feed=rss2" # alternative if /feed/ is blocked
|
2021-12-18 07:19:47 +00:00
|
|
|
|
2023-03-04 19:43:25 +00:00
|
|
|
redirects: true
|
|
|
|
max-redirects: 2
|
2022-11-16 15:35:00 +00:00
|
|
|
stop-at-first-match: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2022-11-15 03:23:46 +00:00
|
|
|
matchers-condition: and
|
2021-12-18 07:19:47 +00:00
|
|
|
matchers:
|
|
|
|
- type: regex
|
|
|
|
regex:
|
2022-11-15 03:23:46 +00:00
|
|
|
- '<generator>https?:\/\/wordpress\.org.*</generator>'
|
2022-11-15 11:31:46 +00:00
|
|
|
- 'wp-login.php'
|
2022-11-15 03:23:46 +00:00
|
|
|
- '\/wp-content/themes\/'
|
|
|
|
- '\/wp-includes\/'
|
|
|
|
- 'name="generator" content="wordpress'
|
2022-10-24 13:18:01 +00:00
|
|
|
- '<link[^>]+s\d+\.wp\.com'
|
|
|
|
- '<!-- This site is optimized with the Yoast (?:WordPress )?SEO plugin v([\d.]+) -'
|
2022-11-15 11:31:46 +00:00
|
|
|
- '<!--[^>]+WP-Super-Cache'
|
2022-10-24 13:18:01 +00:00
|
|
|
condition: or
|
2022-11-15 11:30:51 +00:00
|
|
|
|
2022-11-15 03:23:46 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2021-12-18 07:19:47 +00:00
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
2022-11-15 03:23:46 +00:00
|
|
|
name: version_by_generator
|
2021-12-18 07:19:47 +00:00
|
|
|
group: 1
|
|
|
|
regex:
|
2022-10-20 14:33:49 +00:00
|
|
|
- '(?m)https:\/\/wordpress.org\/\?v=([0-9.]+)'
|
2022-11-15 03:23:46 +00:00
|
|
|
|
|
|
|
- type: regex
|
|
|
|
name: version_by_js
|
|
|
|
group: 1
|
|
|
|
regex:
|
|
|
|
- 'wp-emoji-release\.min\.js\?ver=((\d+\.?)+)\b'
|
|
|
|
|
|
|
|
- type: regex
|
|
|
|
name: version_by_css
|
|
|
|
group: 1
|
|
|
|
regex:
|
|
|
|
- 'install\.min\.css\?ver=((\d+\.?)+)\b'
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022063a1eb3686edc8dfada91893ca54db0bb002e131cca2a373d56b39c69e46b5440221009004f9bb9c3168e5bdacea0aed03100ce640ecaa2afb4bb3b64a3e545ef1fbcb:922c64590222798bb761d5b6d8e72950
|