Pragyan CMS — 1 vulnerability check
noctis ships 1 vulnerability check for Pragyan CMS, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
Pragyan CMS user profile SQL injection
| CVE | CVE-2015-1471 |
|---|---|
| Severity | high · CVSS 7.5 |
| Category | sqli — SQL injection |
| Services | http, https |
| Detection | set_var, tcp_connect, match · highest QoD 75 |
| Feed | tests/vulnerabilities/pragyan-cms/CVE-2015-1471.yaml |
Checks that the site runs Pragyan CMS, requests /user:1' with a marker and reports when the response contains a MySQL syntax error that echoes it.
How noctis detects it
- Raw TCP (TLS on HTTPS), sent verbatim:
GET /home/+login HTTP/1.0 - Checks
gate.bannerfor>Pragyan CMS - Raw TCP (TLS on HTTPS), sent verbatim:
GET /user:1'SQL-INJECTION-TEST HTTP/1.0 - Checks
resp.bannerfor(?s)You have an error in your SQL syntax.*SQL-INJECTION-TEST→ finding QoD 75: Pragyan CMS /user:1' returned a MySQL syntax error echoing SQL-INJECTION-TEST: …
References:
Feed source — tests/vulnerabilities/pragyan-cms/CVE-2015-1471.yaml
uid: bedeb321-d661-48b9-ac37-c08a311fdf9b
name: "Pragyan CMS user profile SQL injection (CVE-2015-1471)"
description: "Checks that the site runs Pragyan CMS, requests /user:1' with a marker and reports when the response contains a MySQL syntax error that echoes it."
cves: [CVE-2015-1471]
cvss: 7.5
severity: high
category: sqli
confidence_base: 0.3
tags: [openvas-migrated, http, pragyan-cms]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2015-1471"
- "OpenVAS NASL 2015/gb_pragyan_cms_sql_inj_vuln.nasl (GPL-2.0-only)"
# Ported from OpenVAS/Greenbone NASL 2015/gb_pragyan_cms_sql_inj_vuln.nasl (GPL-2.0-only).
steps:
- id: seed
action: set_var
var_name: product
var_value: false
- id: gate_probe
action: tcp_connect
port: "{{port}}"
send: "GET /home/+login HTTP/1.0\r\nHost: {{target_host}}\r\n\r\n"
store_as: gate
- id: gate_match
action: match
source: gate.banner
pattern: ">Pragyan CMS"
on_match:
set_vars:
product: true
- id: exploit
action: tcp_connect
port: "{{port}}"
send: "GET /user:1'SQL-INJECTION-TEST HTTP/1.0\r\nHost: {{target_host}}\r\n\r\n"
store_as: resp
- id: detect
action: match
source: resp.banner
pattern: "(?s)You have an error in your SQL syntax.*SQL-INJECTION-TEST"
condition: "product"
on_match:
finding:
confidence_delta: 0.5
qod: 75
evidence: "Pragyan CMS /user:1' returned a MySQL syntax error echoing SQL-INJECTION-TEST: {{resp.banner}}"
stop: true