Security-Board  

Zurück   Security-Board > Sicherheit > Bugs & Exploits > Bugtraq
Benutzername
Kennwort
FAQ Benutzerliste Suchen Heutige Beiträge Alle Foren als gelesen markieren

Antwort
 
Themen-Optionen Thema durchsuchen Bewertung: Bewertung: 71 Stimmen, 5,00 durchschnittlich. Ansicht
Alt 06.02.2005, 16:39   #1
Asto
-vidatu
 
Registrierungsdatum: 02.2002
Ort: Cola Dose
Beiträge: 1.520
Karma [?]: 28 Asto ist auf dem richtigen Weg
Asto eine Nachricht über MSN schicken
Standard [SePro Advisory #1] SQL-Injection in PerlDesk

SQL-Injection in PerlDesk

Discovered by deluxe89 and Astovidatu
[ www.security-project.org ]


Vendor: LogicNow
Homepage: http://www.perldesk.com/
Vulnerable versions: 1.x
Login required: no


Description:
"PerlDesk is a feature packed web based help desk and email management application designed to streamline the operation of managing emails or support requests, with built in tracking and response logging. It is an ideal help desk solution for companies with one or more members of staff or for those who want to organise client support."
(direct quote from www.perldesk.com)

Summary:
PerlDesk has got a SQL-Injection vulnerability, which allows potential users to read informations from the database.
The "view"-parameter isn't filtered, so an attacker can manipulate the query.

Proof of Concept:
Code:
if ($ENV{'QUERY_STRING'} =~ /^view/) { $id = $q->param('view'); $statement = 'SELECT * FROM perlDesk_kb_entries WHERE id = ' . "$id";


As one can see the "view"-parameter is stored in $id which is then passed to the SQL-Statement completely unfiltered.
Using a malformed query string one can exploit this issue.

For example "http://www.site.com/dir/kb.cgi?view=0 UNION SELECT 1,3,password,username,3,7 FROM users"

If the user table is named "users", this query will read the username and password.


Patch:
Upgrade to version 2.x.


Exploit is attached.
Angehängte Dateien
Dateityp: txt pde.txt (1,6 KB, 620x aufgerufen)
__________________
"Immaturity is the incapacity to use one's intelligence without guidance of another." Immanuel Kant

Sapere Aude!

Geändert von deluxe (07.02.2005 um 22:12 Uhr).
Asto ist offline   Mit Zitat antworten
Antwort


Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten
Es ist Ihnen nicht erlaubt, Anhänge anzufügen
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten

vB Code ist An
Smileys sind An
[IMG] Code ist An
HTML-Code ist Aus
Gehe zu



Alle Zeitangaben in WEZ +2. Es ist jetzt 23:39 Uhr.


Powered by: vBulletin Version 3.0.5 (Deutsch)
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2003-2007, Security-Project.org | Seit 2002