OMail Webmail Remote Command Execution Vulnerability

BID:8451

Info

OMail Webmail Remote Command Execution Vulnerability

Bugtraq ID: 8451
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Aug 19 2003 12:00AM
Updated: Aug 19 2003 12:00AM
Credit: The disclosure of this vulnerability has been credited to Phillip Whelan <[email protected]>.
Vulnerable: OMail OMail webmail 0.98.3
OMail OMail webmail 0.97.3
Not Vulnerable: OMail OMail webmail 0.98.5

Discussion

OMail Webmail Remote Command Execution Vulnerability

It has been reported that OMail webmail contains an input validation error due to insufficient sanitization of shell metacharacters in the checklogin() function.

This problem could allow a remote attacker to access sensitive user e-mails or run arbitrary commands on the vulnerable host in order to compromise a system.

Exploit / POC

OMail Webmail Remote Command Execution Vulnerability

This issue may be exploited with a web browser.

Solution / Fix

OMail Webmail Remote Command Execution Vulnerability

Solution:
The vendor has released an upgrade to address this issue. Fixes are linked below. Users who are affected by this vulnerability are advised to update as soon as possible.

The following solution for this problem was provided, however Symantec has not verified the validity of this patch:

--- omail-webmail-0.98.4/omail-old.pl 2001-08-26
08:35:27.000000000 -0400
+++ omail-webmail-0.98.4/omail.pl 2003-07-28
12:29:36.000000000 -0400
@@ -396,7 +396,7 @@

if (($vmailmgr || $vpopmail) && $cgi_mode eq "suid") {

- if (!($userid =~ /(.*)\@(.*)/)) {
+ if (!($userid =~ /([A-Z,a-z,0-9]*)\@([\w\.]*)$/)) {
omailerror("domain name is missing : format
userid\@domain");
} else {
$userid = $1;
@@ -406,7 +406,7 @@

my $password = param("password");
- $password =~ /^(.+)$/;
+ $password =~ /^([^\"]+)$/;
$password = $1;

# 8 possible cases :


OMail OMail webmail 0.97.3

OMail OMail webmail 0.98.3

References

OMail Webmail Remote Command Execution Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report