CVE-2021-34166

CRITICAL

Simple Food Website 1.0 - SQL Injection

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2021-34166. PoCs published by Viren Saroha.

AI-analyzed exploit summary This exploit demonstrates an SQL injection vulnerability in the login mechanism of Simple Food Website 1.0, allowing authentication bypass by injecting a tautology into the username field. The provided request shows the exact payload used to bypass authentication.

Description

A SQL INJECTION vulnerability in Sourcecodester Simple Food Website 1.0 allows a remote attacker to Bypass Authentication and become Admin.

Exploits (1)

exploitdb WORKING POC
by Viren Saroha · textwebappsphp
https://www.exploit-db.com/exploits/49740

This exploit demonstrates an SQL injection vulnerability in the login mechanism of Simple Food Website 1.0, allowing authentication bypass by injecting a tautology into the username field. The provided request shows the exact payload used to bypass authentication.

Classification
Working Poc 100%
Attack Type
Sqli
Complexity
Trivial
Reliability
Reliable
Target: Simple Food Website 1.0
No auth needed
Prerequisites: Access to the login page · Ability to intercept/modify HTTP requests (e.g., Burp Suite)
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (1)

Core 1
Core References
Exploit, Third Party Advisory, VDB Entry x_refsource_misc
https://www.exploit-db.com/exploits/49740

Scores

CVSS v3 9.8
EPSS 0.0292
EPSS Percentile 85.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-89
Status published
Products (1)
simple_food_website_project/simple_food_website 1.0
Published Jul 30, 2021
Tracked Since Feb 18, 2026