Login Register
The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.


[Legion Leak] Exploiting FCKeditor tutorial filter_list
Author
Message
[Legion Leak] Exploiting FCKeditor tutorial #1
This post is leaked from the premium section of "Legion" on the competing hack forum. There will be 5 new leaks a day. There may be some format problems due to UTF8 character encoding.

(07-12-2013, 02:06 PM)VipVince Wrote:
This is a simple method, it is not a 0day method so I take no credit for actually discovering it.

Big shout out to Acid Burnâ„¢ who worked on this method with me.

Admin access has been achieved and upon finding little options to upload a shell directly we noticed that FCKEditor was present and is highly vulnerable to exploitation.

First go to:


You should see this:

[Image: xgAnIj.jpg]

Select uploadtest.html and you will be faced with this:

[Image: xqFg7k.jpg]

Now create a text file and put your malicious script into it, for example your favorite web shell. For this I just included a shitty but still effective uploader script that I quickly found.

[Image: r3QBFL.jpg]

We need to intercept this request via a web proxy and modify the data to trick the server into granting our .php extension. Download "burpsuite" and configure port 8080 to go with your Firefox. I will not get too into this. But be sure to have your burp running with intercept turned to on.

Now go back to the FCKEditor and send this file to server.

[Image: u2sLSE.jpg]

This will trigger your burp and you will see all the POST data in front of you.

[Image: jdDEUh.jpg]

This is what we need to modify. Where it says &CurrentFolder=/ you need to change this to your desired file name with your .php extension. A null byte is also required in order to bypass.

[Image: CPplFx.jpg]

I called mine uploader.php%00. If your following that is the simple upload script I previously found. Click 'forward' on burp and this will send your modified POST data to the server. Wait a second and you should see:

[Image: RTwtpl.jpg]

Upload seems to have been successful. It shows that it is saved in /uploads/uploader.php. Browse to it:

[Image: HGm7nx.jpg]

Success now upload any file of our preference, for POC purposes I am just using another pretty crappy web shell. Now upload:

[Image: KC3LGc.jpg]

And Voila!

[Image: ooczZf.jpg]

We now have shell access. What you do from here is down to you. So there we go one relatively easy way to exploit websites running FCKEditor. Hope you enjoyed. VV.
[Image: F4Z9Dqw.png]

Reply







Users browsing this thread: 1 Guest(s)