Skip to content
SQL injection Write-up Intermediate

ZeusCMS <= 0.3 (security.php) SQL Injection Vulnerability

ZeusCMS 0.3 and earlier contains an SQL injection vulnerability in security.php. A remote attacker can execute arbitrary SQL commands by manipulating the Referer HTTP header.

karmainsecurity.com

Published on karmainsecurity.com

SQL injection vulnerability in security.php in ZeusCMS 0.3 and earlier allows remote attackers to execute arbitrary SQL commands via the Referer HTTP header.

The author, on karmainsecurity.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could execute arbitrary SQL commands, potentially reading or modifying database contents.

What the attacker needed

Network access to the web server

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

SQL injection is when a program builds a database query using untrusted input without proper handling, letting an attacker change the query's meaning. Here, the website takes the Referer header (a value the browser sends to say where a link came from) and puts it into a database query unsafely. An attacker can set that header to special text and run their own database commands.

What is SQL injection?

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.

Similar reports

View all

Same bug class and techniques, clearest first.

SQL injection

The lesson behind this report.

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.