Skip to content
SQL injection Write-up Intermediate

eFront <= 3.6.10 (send_notifications.php) SQL Injection Vulnerability

The send_notifications.php script in eFront did not properly sanitise the sent_notification_id parameter, allowing SQL injection. An attacker could inject or manipulate SQL queries in the back-end database, enabling manipulation or disclosure of arbitrary data.

karmainsecurity.com

Published on karmainsecurity.com

eFront contains a flaw that may allow an attacker to carry out an SQL injection attack. The issue is due to the www/sendnotifications.php script not properly sanitizing user-supplied input passed via the ‘sentnotificationid’ 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 sent_notification_id parameter was concatenated into an SQL query without parameterisation or escaping.

Impact

An attacker could manipulate or disclose arbitrary data in the back-end database.

What the attacker needed

Access to send_notifications.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 web page took a value from the user and put it straight into a database command without cleaning it first. By crafting that value, an attacker can change the command so the database returns or alters data it should not. 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.