When the mailbox is created in useradd, the "open()" function does not
receive the three arguments it expects while O_CREAT is present, which
leads to random permissions on the created file, before fchmod() is
executed.
Depending on the random permissions given to the mailbox file which is
at this time owned by root, a local user may be able to open this file
for reading or writing, or even executing it, maybe as the root user.
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.
KaDaL-X discovered a format string error within the handling of
filenames. Hans de Goede also discovered several other format string
errors in the processing of dia files.
By enticing a user to open a specially crafted file, a remote attacker
could exploit these vulnerabilities to execute arbitrary code with the
rights of the user running the application.
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.