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
Maran PHP Blog Xss By Khashayar Fereidani
Jul 19 2008 05:29PM
irancrash gmail com
----------------------------------------------------------------
Script : Maran PHP Blog
Type : XSS (Pasive)
Method : GET
Alert : Medium
----------------------------------------------------------------
Discovered by : Khashayar Fereidani a.k.a. Dr.Crash
My Offical Website : HTTP://FEREIDANI.IR
Khashayar Fereidani Email : irancrash [ a t ] gmail [ d o t] com
----------------------------------------------------------------
Khashayar Fereidani Offical Website : HTTP://FEREIDANI.IR
----------------------------------------------------------------
Script Download : http://www.maran.pamil-visions.com/download2.php?dir=maranphp&file=maran
blog.zip
----------------------------------------------------------------
This Is One Xss Vulnerability in ID Variable .
Attacker Can Execute JavaScript Code And Get Admin Cookie And Send new article with admin cookie .....
Xss Address : http://Example/comments.php?id=%3E%3C%3E%27%3Cscript%3Ealert(document.co
okie)%3C/script%3E
----------------------------------------------------------------
Solution : Edit Source Code And Filter id Variable With htmlspecialchars() function in comments.php .......
line 32 : <input type='hidden' name='id' value='<?echo $_GET['id'];?>'><br>
Change It To : <input type='hidden' name='id' value='<?echo htmlspecialchars($_GET['id']);?>'><br>
----------------------------------------------------------------
Tnx : God
HTTP://IRCRASH.COM
----------------------------------------------------------------
[ reply ]
Privacy Statement
Copyright 2009, SecurityFocus
Script : Maran PHP Blog
Type : XSS (Pasive)
Method : GET
Alert : Medium
----------------------------------------------------------------
Discovered by : Khashayar Fereidani a.k.a. Dr.Crash
My Offical Website : HTTP://FEREIDANI.IR
Khashayar Fereidani Email : irancrash [ a t ] gmail [ d o t] com
----------------------------------------------------------------
Khashayar Fereidani Offical Website : HTTP://FEREIDANI.IR
----------------------------------------------------------------
Script Download : http://www.maran.pamil-visions.com/download2.php?dir=maranphp&file=maran
blog.zip
----------------------------------------------------------------
This Is One Xss Vulnerability in ID Variable .
Attacker Can Execute JavaScript Code And Get Admin Cookie And Send new article with admin cookie .....
Xss Address : http://Example/comments.php?id=%3E%3C%3E%27%3Cscript%3Ealert(document.co
okie)%3C/script%3E
----------------------------------------------------------------
Solution : Edit Source Code And Filter id Variable With htmlspecialchars() function in comments.php .......
line 32 : <input type='hidden' name='id' value='<?echo $_GET['id'];?>'><br>
Change It To : <input type='hidden' name='id' value='<?echo htmlspecialchars($_GET['id']);?>'><br>
----------------------------------------------------------------
Tnx : God
HTTP://IRCRASH.COM
----------------------------------------------------------------
[ reply ]