forked from adysec/nuclei_poc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CVE-2005-2612.yaml
60 lines (53 loc) · 1.72 KB
/
CVE-2005-2612.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
id: CVE-2005-2612
info:
name: "WordPress Core < 1.5.2 - Remote Code Execution"
author: topscoder
severity: high
description: "Direct code injection vulnerability in WordPress 1.5.1.3 and earlier allows remote attackers to execute arbitrary PHP code via the cache_lastpostdate[server] cookie."
reference:
- http://secunia.com/advisories/16386
- https://wordpress.org/news/2005/08/one-five-two/
- https://web.archive.org/web/20110101141011/http%3A//archives.neohapsis.com%3A80/archives/fulldisclosure/2005-08/0234.html
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
cvss-score: 8.8
cve-id: CVE-2005-2612
metadata:
shodan-query: 'vuln:CVE-2005-2612'
tags: cve,wordpress,wp-core,high
http:
- method: GET
path:
- "{{BaseURL}}"
- "{{BaseURL}}/wp-admin/install.php"
- "{{BaseURL}}/feed/"
- "{{BaseURL}}/?feed=rss2" # alternative if /feed/ is blocked
redirects: true
max-redirects: 2
stop-at-first-match: true
matchers-condition: and
matchers:
- type: dsl
dsl:
- compare_versions(version_by_generator, '<= 1.5.1.3')
- compare_versions(version_by_js, '<= 1.5.1.3')
- compare_versions(version_by_css, '<= 1.5.1.3')
- type: status
status:
- 200
extractors:
- type: regex
name: version_by_generator
group: 1
regex:
- '(?m)https:\/\/wordpress.org\/\?v=([0-9.]+)'
- 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'