Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit dfd71d6

Browse files
committed
Added a new scanner integration (WIP) for WPScan
1 parent be8afb3 commit dfd71d6

File tree

11 files changed

+734
-0
lines changed

11 files changed

+734
-0
lines changed

integrations/wpscan/.helmignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.DS_Store
2+
3+
parser/
4+
scanner/

integrations/wpscan/Chart.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
apiVersion: v2
2+
name: wpscan
3+
description: A Helm chart for the WordPress security Scanner that integrates with the secureCodeBox.
4+
5+
type: application
6+
version: 0.1.0
7+
appVersion: latest
8+
9+
keywords:
10+
- security
11+
- wpscan
12+
- wordpress
13+
- scanner
14+
- secureCodeBox
15+
home: https://www.securecodebox.io/scanner/WPScan
16+
icon: https://www.securecodebox.io/integrationIcons/WPScan.svg
17+
sources:
18+
- https://github.com/secureCodeBox/scanner-infrastructure-wpscan
19+
maintainers:
20+
- name: iteratec GmbH
21+
email: security@iteratec.com
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FROM scbexperimental/parser-sdk-nodejs:latest
2+
WORKDIR /home/app/parser-wrapper/parser/
3+
COPY --chown=app:app ./parser.js ./parser.js
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{
2+
}
Lines changed: 228 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,228 @@
1+
{
2+
"banner": {
3+
"description": "WordPress Security Scanner by the WPScan Team",
4+
"version": "3.8.1",
5+
"authors": [
6+
"@_WPScan_",
7+
"@ethicalhack3r",
8+
"@erwan_lr",
9+
"@firefart"
10+
],
11+
"sponsor": "Sponsored by Automattic - https://automattic.com/"
12+
},
13+
"start_time": 1591480247,
14+
"start_memory": 41349120,
15+
"target_url": "https://www.example.com/",
16+
"target_ip": "192.168.200.100",
17+
"effective_url": "https://www.example.com/",
18+
"interesting_findings": [
19+
{
20+
"url": "https://www.example.com/",
21+
"to_s": "Headers",
22+
"type": "headers",
23+
"found_by": "Headers (Passive Detection)",
24+
"confidence": 100,
25+
"confirmed_by": {
26+
27+
},
28+
"references": {
29+
30+
},
31+
"interesting_entries": [
32+
"Server: Apache/2.4.29 (Ubuntu)"
33+
]
34+
},
35+
{
36+
"url": "https://www.example.com/robots.txt",
37+
"to_s": "https://www.example.com/robots.txt",
38+
"type": "robots_txt",
39+
"found_by": "Robots Txt (Aggressive Detection)",
40+
"confidence": 100,
41+
"confirmed_by": {
42+
43+
},
44+
"references": {
45+
46+
},
47+
"interesting_entries": [
48+
"/wp-admin/",
49+
"/wp-admin/admin-ajax.php"
50+
]
51+
},
52+
{
53+
"url": "https://www.example.com/readme.html",
54+
"to_s": "https://www.example.com/readme.html",
55+
"type": "readme",
56+
"found_by": "Direct Access (Aggressive Detection)",
57+
"confidence": 100,
58+
"confirmed_by": {
59+
60+
},
61+
"references": {
62+
63+
},
64+
"interesting_entries": [
65+
66+
]
67+
},
68+
{
69+
"url": "https://www.example.com/wp-content/mu-plugins/",
70+
"to_s": "This site has 'Must Use Plugins': https://www.example.com/wp-content/mu-plugins/",
71+
"type": "mu_plugins",
72+
"found_by": "Direct Access (Aggressive Detection)",
73+
"confidence": 80,
74+
"confirmed_by": {
75+
76+
},
77+
"references": {
78+
"url": [
79+
"http://codex.wordpress.org/Must_Use_Plugins"
80+
]
81+
},
82+
"interesting_entries": [
83+
84+
]
85+
},
86+
{
87+
"url": "https://www.example.com/wp-cron.php",
88+
"to_s": "The external WP-Cron seems to be enabled: https://www.example.com/wp-cron.php",
89+
"type": "wp_cron",
90+
"found_by": "Direct Access (Aggressive Detection)",
91+
"confidence": 60,
92+
"confirmed_by": {
93+
94+
},
95+
"references": {
96+
"url": [
97+
"https://www.iplocation.net/defend-wordpress-from-ddos",
98+
"https://github.com/wpscanteam/wpscan/issues/1299"
99+
]
100+
},
101+
"interesting_entries": [
102+
103+
]
104+
}
105+
],
106+
"version": {
107+
"number": "5.3.3",
108+
"release_date": "2020-04-29",
109+
"status": "latest",
110+
"found_by": "Rss Generator (Passive Detection)",
111+
"confidence": 100,
112+
"interesting_entries": [
113+
"https://www.example.com/feed/, <generator>https://wordpress.org/?v=5.3.3</generator>",
114+
"https://www.example.com/comments/feed/, <generator>https://wordpress.org/?v=5.3.3</generator>"
115+
],
116+
"confirmed_by": {
117+
118+
},
119+
"vulnerabilities": [
120+
121+
]
122+
},
123+
"main_theme": {
124+
"slug": "twentyseventeen",
125+
"location": "https://www.example.com/wp-content/themes/twentyseventeen/",
126+
"latest_version": "2.3",
127+
"last_updated": "2020-03-31T00:00:00.000Z",
128+
"outdated": true,
129+
"readme_url": "https://www.example.com/wp-content/themes/twentyseventeen/README.txt",
130+
"directory_listing": false,
131+
"error_log_url": null,
132+
"style_url": "https://www.example.com/wp-content/themes/twentyseventeen/style.css?ver=5.3.3",
133+
"style_name": "Twenty Seventeen",
134+
"style_uri": "https://wordpress.org/themes/twentyseventeen/",
135+
"description": "Twenty Seventeen brings your site to life with header video and immersive featured images. With a focus on business sites, it features multiple sections on the front page as well as widgets, navigation and social menus, a logo, and more. Personalize its asymmetrical grid with a custom color scheme and showcase your multimedia content with post formats. Our default theme for 2017 works great in many languages, for any abilities, and on any device.",
136+
"author": "the WordPress team",
137+
"author_uri": "https://wordpress.org/",
138+
"template": null,
139+
"license": "GNU General Public License v2 or later",
140+
"license_uri": "http://www.gnu.org/licenses/gpl-2.0.html",
141+
"tags": "one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready",
142+
"text_domain": "twentyseventeen",
143+
"found_by": "Css Style In Homepage (Passive Detection)",
144+
"confidence": 100,
145+
"interesting_entries": [
146+
147+
],
148+
"confirmed_by": {
149+
"Css Style In 404 Page (Passive Detection)": {
150+
"confidence": 70,
151+
"interesting_entries": [
152+
153+
]
154+
}
155+
},
156+
"vulnerabilities": [
157+
158+
],
159+
"version": {
160+
"number": "2.2",
161+
"confidence": 80,
162+
"found_by": "Style (Passive Detection)",
163+
"interesting_entries": [
164+
"https://www.example.com/wp-content/themes/twentyseventeen/style.css?ver=5.3.3, Match: 'Version: 2.2'"
165+
],
166+
"confirmed_by": {
167+
168+
}
169+
},
170+
"parents": [
171+
172+
]
173+
},
174+
"plugins": {
175+
"akismet": {
176+
"slug": "akismet",
177+
"location": "https://www.example.com/wp-content/plugins/akismet/",
178+
"latest_version": "4.1.6",
179+
"last_updated": "2020-06-04T17:21:00.000Z",
180+
"outdated": false,
181+
"readme_url": false,
182+
"directory_listing": false,
183+
"error_log_url": null,
184+
"found_by": "Known Locations (Aggressive Detection)",
185+
"confidence": 80,
186+
"interesting_entries": [
187+
"https://www.example.com/wp-content/plugins/akismet/, status: 403"
188+
],
189+
"confirmed_by": {
190+
191+
},
192+
"vulnerabilities": [
193+
{
194+
"title": "Akismet 2.5.0-3.1.4 - Unauthenticated Stored Cross-Site Scripting (XSS)",
195+
"fixed_in": "3.1.5",
196+
"references": {
197+
"cve": [
198+
"2015-9357"
199+
],
200+
"url": [
201+
"http://blog.akismet.com/2015/10/13/akismet-3-1-5-wordpress/",
202+
"https://blog.sucuri.net/2015/10/security-advisory-stored-xss-in-akismet-wordpress-plugin.html"
203+
],
204+
"wpvulndb": [
205+
"8215"
206+
]
207+
}
208+
}
209+
],
210+
"version": null
211+
}
212+
},
213+
"vuln_api": {
214+
"plan": "free",
215+
"requests_done_during_scan": 4,
216+
"requests_remaining": 18
217+
},
218+
"stop_time": 1591480342,
219+
"elapsed": 94,
220+
"requests_done": 2335,
221+
"cached_requests": 9,
222+
"data_sent": 631774,
223+
"data_sent_humanised": "616.967 KB",
224+
"data_received": 1093069,
225+
"data_received_humanised": "1.042 MB",
226+
"used_memory": 272867328,
227+
"used_memory_humanised": "260.227 MB"
228+
}

0 commit comments

Comments
 (0)