hdweGUEST <= 2.1.1 Cross Site Scripting Vulnerabilities

2006.07.25
Risk: Low
Local: No
Remote: Yes
CWE: CWE-79


CVSS Base Score: 4.3/10
Impact Subscore: 2.9/10
Exploitability Subscore: 8.6/10
Exploit range: Remote
Attack complexity: Medium
Authentication: No required
Confidentiality impact: None
Integrity impact: Partial
Availability impact: None

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Advisory: hdweGUEST <= 2.1.1 Cross Site Scripting Vulnerabilities Release Date: 2006/07/18 Last Modified: 2006/07/18 Author: Tamriel [tamriel at gmx dot net] Application: hdweGUEST 2.1.1 Risk: Low Vendor Status: contacted | no reply | no patch available Vendor Site: www.huttenlocher-webdesign.de Overview: Quote from www.huttenlocher-webdesign.de "hwdeGUEST ist ein Gaestebuch geschrieben in PHP. Es bietet dem Betreiber eine Vielzahl von Moeglichkeiten" Details: In the new_entry.php are some possible cross site scripting vulnerabilities. This can be used to insert malicious code that will be executed on the client's machine. All user inputs are not checked by the script, only in this lines (arround line 250-255) ... $username=trim($username); $usernachricht=trim($usernachricht); if($GLOBALS[html_allowed]==0) {$usernachricht=strip_tags($usernachricht);} ... and the mail input is checked by this function: (arround line 70-80) ... if(strstr($adresse,"@")) { $temp_adresse=explode("@",$adresse); if(strstr($temp_adresse[1],".")) { if(strlen($adresse)<8) {return false;} else {return true;} } else {return false;} } ... Proof of Concept: Insert HTML/JS Code like "<u>name</u>" into the name input field on "new entry" page. Solution/Note: It is strongly recommended to update your script by yourself. Use the htmlentities() function and replace some insecure functions like the checke_email()'s one with proper code. Greets: Greets fly out to all people at bluegeek.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 iD8DBQFEvUFbqBhP+Twks7oRAuMvAJ9DVq0ByFhWguU4iss8V3Z2mzk9KACfTp/u ZjypE373XsBXJW4HJNURdHc= =Q3xe -----END PGP SIGNATURE-----


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top