exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

E-Journal CMS SQL Injection / Privilege Escalation

E-Journal CMS SQL Injection / Privilege Escalation
Posted Dec 19, 2014
Authored by X-Cisadane, Vulnerability Laboratory | Site vulnerability-lab.com

E-Journal CMS suffers from remote SQL injection and privilege escalation vulnerabilities.

tags | exploit, remote, vulnerability, sql injection
SHA-256 | 9298e8ad7711b487909c7268ffc3a5b282329dc56644725e20346394219ff0b1

E-Journal CMS SQL Injection / Privilege Escalation

Change Mirror Download
Document Title:
E-Journal CMS (ID) - Multiple Web Vulnerabilities

References (Source):

Release Date:

Vulnerability Laboratory ID (VL-ID):

Common Vulnerability Scoring System:

Product & Service Introduction:

Abstract Advisory Information:
An independent Vulnerability Laboratory Researcher discovered multiple vulnerabilities in the indonesian E-Journal web-application.

Vulnerability Disclosure Timeline:
2013-12-17: Public Disclosure

Discovery Status:

Exploitation Technique:

Severity Level:

Technical Details & Description:
A sql injection web vulnerability has been discovered in the official E-Journal (ID) content management system.
The vulnerability allows remote attackers to execute own sql commands by usage of a vulnerable serivce value.

The vulnerability is located in the id value of the jurnal.php file. Remote attackers are able to execute own
sql commands by usage of a GET method request with manipulated id value. Remote attackers are able to read
database information by execution of own sql commands. The vulnerability is located in the client-side and the
request method to execute sql commands is GET.

The security risk of the sql vulnerability is estimated as high with a cvss (common vulnerability scoring system) count of 7.0.
Exploitation of the sql injection web vulnerability does not require a privileged application user account or user interaction.
Successful exploitation of the remote vulnerability results in database management system and web-application compromise.

Request Method(s):
[+] GET

Vulnerable Module(s):
[+] jurnal

Vulnerable File(s):
[+] jurnal.php

Vulnerable Parameter(s):
[+] id

A privilege escalation vulnerability has been discovered in the official E-Journal (ID) content management system.
The vulnerability allows an attacker to escalate of the restricted privileges, to gain for example higher access controls.

The privilege escalation vulnerability is located in tambah value of the URL input in the data.php file. Remote attackers can switch
the menu to escalte with privileges by adding a new administrator account. The vulnerability is located on the application-side and
the request method to inject is POST.

The security risk of the privilege escalation vulnerability is estimated as high with a cvss (common vulnerability scoring system) count of 6.9.
Exploitation of the privilege escalation web vulnerability requires a low privileged application user account and no user interaction.
Successful exploitation of the remote vulnerability results in information leaking, database management system- and web-application -compromise.

Request Method(s):
[+] POST

Vulnerable Module(s):
[+] URL

Vulnerable File(s):
[+] data.php

Vulnerable Parameter(s):
[+] tambah

Proof of Concept (PoC):
The vulnerabilities can be exploited by remote attackers without privileged application user account and user interaction.
For security demonstration or to reproduce the security vulnerability follow the provided information and steps below to continue.

inurl:mahasiswa.php intitle:E-Journal
inurl:dosen.php intitle:E-Journal
inurl:jurnal.php intitle:E-Journal
inurl:dokumen.php intitle:E-Journal
"Karya Tulis Mahasiswa" intitle:E-Journal
"Design & Programming by" intitle:E-Journal
"E-Journal adalah aplikasi berbasis web untuk"
Or use your own Google Dorks :)

Note: This E-Journal CMS has 2 versions, The Old Version doesn't have informasi.php (Informasi Menu).

POC#1: SQL Injection
http://[Site]/[Path]/jurnal.php?detail=jurnal&id=-'[SQL-INJECTION VULNERABILITY]--

Reference Url(s):
http://e-journal.xxx.ac.id/jurnal.php?detail=jurnal&id='133[SQL-INJECTION VULNERABILITY]--
http://www.ejournal-xxx.com/jurnal.php?detail=jurnal&id='133[SQL-INJECTION VULNERABILITY]--
http://e-journal.xxx.ac.id/jurnal.php?detail=jurnal&id='133[SQL-INJECTION VULNERABILITY]--
http://ejurnal.xxx.ac.id/jurnal.php?detail=jurnal&id='133[SQL-INJECTION VULNERABILITY]--
http://ejournal.xxx.ac.id/jurnal.php?detail=jurnal&id='133[SQL-INJECTION VULNERABILITY]--

PoC#2: Privilege Escalation
You can create a new administrator account by usage of the following trick.
For Example my Target url is : http://www.ejournal-xxx.com/

Step1: Add data.php?tambah=dosen in the URL. So in this case the URL was http://www.ejournal-xxx.com/data.php?tambah=dosen
Ignore that Notice and click Admin Menu. Screenshot #1 : http://i59.tinypic.com/54he2b.png
Step3: Successful exploited! Now you can add an Administrator Account. Screenshot #2 : http://i59.tinypic.com/2i8vyus.png

Solution - Fix & Patch:
The vulnerability can be patched by usage of a prepared statement. Encode and parse the vulnerable id value in the jurnal.php file to prevent sql injection attacks.

Restrict the URL parameter input to prevent unauthorized account adds. Parse the URL value and encode the input restrict the url to a local source.

Security Risk:
The security risk of the remote sql injection web vulnerability in the e-journal application is estimated as high. (CVSS 7.0)

The security risk of the privilege escalation web vulnerability in the URL parameter is estimated as high. (CVSS 6.9)

Credits & Authors:
X-Cisadane - Stefanus (steevee.aka@gmail.com)
Greetz to: X-Code YogyaFree, Explore Crew, CodeNesia, Bogor Hackers Community, Tomi Zaoldyeck and Winda Utari

Disclaimer & Information:
The information provided in this advisory is provided as it is without any warranty. Vulnerability Lab disclaims all warranties, either expressed
or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-Lab or its suppliers are not liable
in any case of damage, including direct, indirect, incidental, consequential loss of business profits or special damages, even if Vulnerability-Lab
or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for
consequential or incidental damages so the foregoing limitation may not apply. We do not approve or encourage anybody to break any vendor licenses,
policies, deface websites, hack into databases or trade with fraud/stolen material.

Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.evolution-sec.com
Contact: admin@vulnerability-lab.com - research@vulnerability-lab.com - admin@evolution-sec.com
Section: magazine.vulnerability-db.com - vulnerability-lab.com/contact.php - evolution-sec.com/contact
Social: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab
Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php
Programs: vulnerability-lab.com/submit.php - vulnerability-lab.com/list-of-bug-bounty-programs.php - vulnerability-lab.com/register/

Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory. Permission to
electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other media, are reserved by
Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, source code, videos and other information on this website
is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed), modify, use or edit our material contact
(admin@vulnerability-lab.com or research@vulnerability-lab.com) to get a permission.

Copyright © 2014 | Vulnerability Laboratory - [Evolution Security GmbH]™

SERVICE: www.vulnerability-lab.com
CONTACT: research@vulnerability-lab.com
PGP KEY: http://www.vulnerability-lab.com/keys/admin@vulnerability-lab.com%280x198E9928%29.txt

Login or Register to add favorites

File Archive:

August 2022

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Aug 1st
    20 Files
  • 2
    Aug 2nd
    4 Files
  • 3
    Aug 3rd
    6 Files
  • 4
    Aug 4th
    55 Files
  • 5
    Aug 5th
    16 Files
  • 6
    Aug 6th
    0 Files
  • 7
    Aug 7th
    0 Files
  • 8
    Aug 8th
    13 Files
  • 9
    Aug 9th
    13 Files
  • 10
    Aug 10th
    34 Files
  • 11
    Aug 11th
    0 Files
  • 12
    Aug 12th
    0 Files
  • 13
    Aug 13th
    0 Files
  • 14
    Aug 14th
    0 Files
  • 15
    Aug 15th
    0 Files
  • 16
    Aug 16th
    0 Files
  • 17
    Aug 17th
    0 Files
  • 18
    Aug 18th
    0 Files
  • 19
    Aug 19th
    0 Files
  • 20
    Aug 20th
    0 Files
  • 21
    Aug 21st
    0 Files
  • 22
    Aug 22nd
    0 Files
  • 23
    Aug 23rd
    0 Files
  • 24
    Aug 24th
    0 Files
  • 25
    Aug 25th
    0 Files
  • 26
    Aug 26th
    0 Files
  • 27
    Aug 27th
    0 Files
  • 28
    Aug 28th
    0 Files
  • 29
    Aug 29th
    0 Files
  • 30
    Aug 30th
    0 Files
  • 31
    Aug 31st
    0 Files

Top Authors In Last 30 Days

File Tags


packet storm

© 2022 Packet Storm. All rights reserved.

Hosting By