LivelyCart — 1 vulnerability check
noctis ships 1 vulnerability check for LivelyCart, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
LivelyCart search_query SQL injection
| CVE | CVE-2015-5148 |
|---|---|
| Severity | high · CVSS 7.5 |
| Category | sqli — SQL injection |
| Services | http, https |
| Detection | set_var, tcp_connect, match · highest QoD 75 |
| Feed | tests/vulnerabilities/livelycart/CVE-2015-5148.yaml |
Checks that the site runs LivelyCart, sends a quote in the search_query parameter of /product/search and reports when the response contains a MySQL syntax error.
How noctis detects it
- Raw TCP (TLS on HTTPS), sent verbatim:
GET /auth/login HTTP/1.0 - Checks
gate.bannerforPowered by LivelyCart - Raw TCP (TLS on HTTPS), sent verbatim:
GET /product/search?search_query=' HTTP/1.0 - Checks
resp.bannerforYou have an error in your SQL syntax→ finding QoD 75: LivelyCart search_query returned a MySQL syntax error: …
References:
Feed source — tests/vulnerabilities/livelycart/CVE-2015-5148.yaml
uid: 39e3b251-f24c-49bc-800a-5ae7d64e53be
name: "LivelyCart search_query SQL injection (CVE-2015-5148)"
description: "Checks that the site runs LivelyCart, sends a quote in the search_query parameter of /product/search and reports when the response contains a MySQL syntax error."
cves: [CVE-2015-5148]
cvss: 7.5
severity: high
category: sqli
confidence_base: 0.3
tags: [openvas-migrated, http, livelycart]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2015-5148"
- "OpenVAS NASL 2015/gb_livelycart_sql_vuln_july15.nasl (GPL-2.0-only)"
# Ported from OpenVAS/Greenbone NASL 2015/gb_livelycart_sql_vuln_july15.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 /auth/login HTTP/1.0\r\nHost: {{target_host}}\r\n\r\n"
store_as: gate
- id: gate_match
action: match
source: gate.banner
pattern: "Powered by LivelyCart"
on_match:
set_vars:
product: true
- id: exploit
action: tcp_connect
port: "{{port}}"
send: "GET /product/search?search_query=' HTTP/1.0\r\nHost: {{target_host}}\r\n\r\n"
store_as: resp
- id: detect
action: match
source: resp.banner
pattern: "You have an error in your SQL syntax"
condition: "product"
on_match:
finding:
confidence_delta: 0.5
qod: 75
evidence: "LivelyCart search_query returned a MySQL syntax error: {{resp.banner}}"
stop: true