Skip to content
SQL injection Write-up Beginner

eSyndiCat Link Exchange Script (suggest-link.php) SQL Injection Vulnerability

The suggest-link.php script in eSyndiCat Link Exchange Script fails to sanitise the id parameter, allowing an attacker to inject SQL commands. A remote attacker could execute arbitrary SQL commands against the underlying database.

karmainsecurity.com

Published on karmainsecurity.com

SQL injection vulnerability in suggest-link.php in eSyndiCat Link Exchange Script allows remote attackers to execute arbitrary SQL commands via the id parameter.

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

Root cause

Likely the id parameter is concatenated into an SQL query without validation or parameterisation.

Impact

A remote attacker could execute arbitrary SQL commands, potentially reading or altering database contents.

What the attacker needed

Network access to suggest-link.php

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.

A website takes a value from the visitor (the id parameter) and puts it straight into a database query without checking it. By sending specially crafted input, an attacker can change the query so the database runs commands the attacker chose. This is called SQL injection.

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.