Skip to content
OpenAdvisories
Unscored Public exploit CVE-2004-2303 EUVD-2004-2295GHSA-5hvr-27m8-r592

MTools Mformat before 3.9.9, when installed setuid root, creates files with world-readable and world-writable permissions, which allows loc…

Published Aug 16, 2005 · Updated Aug 8, 2024 · Assigned by mitre

Description

MTools Mformat before 3.9.9, when installed setuid root, creates files with world-readable and world-writable permissions, which allows local users to read and overwrite files.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 mtools 3.9.9 —
Debian 13 mtools 3.9.9 —
Debian 12 mtools 3.9.9 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

References