Wordpress All versions XSS

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


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

Advisory by Jose Carlos Norte Wordpress is vulnerable to XSS attacks when custom 404 pages are used by the template. The problem (sidebar.php): <form method="get" id="searchform" action="<?php echo $_SERVER['PHP_SELF']; ?>"> if wordpress template use custom 404 pages, like: <?php get_header(); ?> <div id="content" class="narrowcolumn"> <h2 class="center">Error 404 - Not Found</h2> </div> <?php get_sidebar(); ?> $_SERVER['PHP_SELF']; can contain special characters to break out html and perform XSS attacks, example: http://www.example.com/index.php/"><script>alert(document.cookie)</scrip t> if no custom 404 page set by wordpress theme this attacks is not posible.


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