ThWboard Support-Forum (Archiv)

Ort: / Boardübersicht / Probleme und Fragen / advisory - HTML Injection , XSS , SQL Injection


Seite 1 von 1

fingers schrieb am 08.12.2005 um 10:48 Uhr

EDIT
I've tested 'all' versions after 2.81 and they not vunerable but 2.81 is as theDon said

Ab 2.82 aufwaerts ist das behoben.

KAPDA New advisory

Vendor: http://www.thwboard.de
Vulnerable Version: 3 beta 2.8
Bug: HTML Injection , XSS , SQL Injection
Exploitation: Remote with browser

Description:
--------------------
ThWboard is a freely available German PHP-based message board program that uses a MySQL database.

Vulnerability:
--------------------
HTML Injection: The software does not properly filter HTML tags in "Wohnort" & "Beruf" fields in 'editprofile.php' that may allow a remote user to inject HTML/javascript codes. The hostile code may be rendered in the web browser of the victim user who will visit the board (persistent).

XSS: XSS Vulnerability in 'v_profile.php' & 'misc.php'
that may allow a remote user to launch cross-site scripting attacks.
This issue could permit a remote attacker to create a malicious URI link that includes hostile HTML and script code. If this link were to be followed, the hostile code may be rendered in the web browser of the victim user. This would occur in the security context of the affected Web site.

Demonstration XSS URL :
-----------------------------
http://example.com/thwb/v_profile.php?user[userid]='%3Cscript%3Ealert('xss')%3C/script%3E
http://example.com/thwb/misc.php?action=getlastpost&userid='%3Cscript%3Ealert(document.cookie)%3C/script%3E

SQL Injection: Several scripts do not properly validate user-supplied input that may allow a remote user to launch Sql injection attacks.('calendar.php'&'v_profile.php'&'misc.php')A
remote user can create specially crafted parameter values that will execute SQL commands on the underlying database.

Demonstration SQL URL :
-----------------------------
http://example.com/thwb/calendar.php?month=12&year='[SQL]
http://example.com/thwb/v_profile.php?user[userid]='[SQL]
http://example.com/thwb/misc.php?action=getlastpost&userid='[SQL]

FSI schrieb am 08.12.2005 um 13:18 Uhr

thx fingers.. good 2 know.

theDon schrieb am 08.12.2005 um 13:33 Uhr

Ab 2.82 aufwaerts ist das behoben.

Seite 1 von 1