Ticket #4811 (closed defect (bug): fixed)
CSRF & XSS on some importers
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | high | Milestone: | 2.3 |
| Component: | Security | Version: | 2.3 |
| Severity: | major | Keywords: | has-patch commit |
| Cc: |
Description
On trunk, Ultimate Tag Warrior and Category to Tag Converter are vulnerable to CSRF and XSS.
Proof of Concepts
- CSRF: Convert all categories to tags without user confirmation. http://localhost/wp/wp-admin/admin.php?import=wp-cat2tag&step=4
- XSS: Someone has commited code to debug wp-cat2tag converter:
echo '<!--'; print_r($_POST); print_r($_GET); echo '-->';
It allows XSS attacks:http://localhost/wp/wp-admin/admin.php?import=wp-cat2tag&--><script>alert(/XSS/)</script>
Attachments
Change History
-
attachment
importers.diff
added
- Keywords has-patch commit added
- Priority changed from normal to high
- Severity changed from normal to major
- Milestone set to 2.3
I'm partially to blame for the UTW importer (didn't check it over before committing) and wholly to blame for the second one (bad coding).
+2 to the patch.
Note: See
TracTickets for help on using
tickets.

Avoid CSRF and XSS on some importers