2021-12-18 07:19:47 +00:00
|
|
|
id: wordpress-detect
|
|
|
|
|
|
|
|
info:
|
2022-10-25 06:09:19 +00:00
|
|
|
name: WordPress Detect
|
2022-10-20 14:33:49 +00:00
|
|
|
author: pdteam,daffainfo
|
2021-12-18 07:19:47 +00:00
|
|
|
severity: info
|
|
|
|
metadata:
|
2022-10-20 14:33:49 +00:00
|
|
|
verified: true
|
2021-12-18 07:19:47 +00:00
|
|
|
shodan-query: http.component:"WordPress"
|
2022-10-25 06:09:19 +00:00
|
|
|
tags: tech,wordpress,cms,wp
|
2021-12-18 07:19:47 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
2022-10-24 13:18:01 +00:00
|
|
|
- '{{BaseURL}}'
|
2022-10-20 14:33:49 +00:00
|
|
|
- '{{BaseURL}}/feed/'
|
2022-11-09 21:36:13 +00:00
|
|
|
- '{{BaseURL}}/?feed=rss2' # alternative if /feed/ is blocked
|
2021-12-18 07:19:47 +00:00
|
|
|
|
2022-10-20 14:33:49 +00:00
|
|
|
stop-at-first-match: true
|
2022-10-24 13:18:01 +00:00
|
|
|
matchers-condition: or
|
2021-12-18 07:19:47 +00:00
|
|
|
matchers:
|
|
|
|
- type: regex
|
|
|
|
regex:
|
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.]+) -'
|
|
|
|
- '<!--[^>]+WP-Super-Cache'
|
|
|
|
condition: or
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
2022-10-20 14:33:49 +00:00
|
|
|
- '<generator>'
|
|
|
|
- '<link>'
|
|
|
|
- '<title>'
|
|
|
|
condition: and
|
2021-12-18 07:19:47 +00:00
|
|
|
|
2022-10-24 13:18:01 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- 'wp-login.php'
|
|
|
|
- '/wp-content/themes/'
|
|
|
|
- '/wp-includes/'
|
|
|
|
- 'name="generator" content="wordpress'
|
|
|
|
- '<!-- performance optimized by w3 total cache. learn more: http://www.w3-edge.com/wordpress-plugins/'
|
|
|
|
condition: or
|
2021-12-18 07:19:47 +00:00
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
group: 1
|
|
|
|
regex:
|
2022-10-20 14:33:49 +00:00
|
|
|
- '(?m)https:\/\/wordpress.org\/\?v=([0-9.]+)'
|