Users login

Create an account »

JOIN XATRIX

Users login

Home » Hacking News » Slackware SSA:2003-141-06a: Quotacheck security fix

Slackware SSA:2003-141-06a: Quotacheck security fix

by Nikola Strahija on May 22nd, 2003 A vulnerability has been found in Quotacheck, a part of the sysvinit package. If the command line option -M is applied, the vulnerability causes the filesystem to be remounted and some mount flags will be reset.


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[slackware-security] REVISED quotacheck security fix in rc.M (SSA:2003-141-06a)

NOTE: The original advisory quotes a section of the Slackware ChangeLog
which had inadvertently reversed the options to quotacheck. The correct
option to use is 'm'. A corrected advisory follows:


An upgraded sysvinit package is available which fixes a problem with
the use of quotacheck in /etc/rc.d/rc.M. The original version of
rc.M calls quotacheck like this:

echo "Checking filesystem quotas: /sbin/quotacheck -avugM"
/sbin/quotacheck -avugM

The 'M' option is wrong. This causes the filesystem to be remounted,
and in the process any mount flags such as nosuid, nodev, noexec,
and the like, will be reset. The correct option to use here is 'm',
which does not attempt to remount the partition:

echo "Checking filesystem quotas: /sbin/quotacheck -avugm"
/sbin/quotacheck -avugm

We recommend sites using file system quotas upgrade to this new package,
or edit /etc/rc.d/rc.M accordingly.


Here are the details from the Slackware 9.0 ChangeLog:
+--------------------------+
Tue May 20 20:13:09 PDT 2003
patches/packages/sysvinit-2.84-i386-26.tgz: Use option m, not M, for quotacheck.
Otherwise, the partition might be remounted losing flags like nosuid,nodev,
noexec. Thanks to Jem Berkes for pointing this out.
(* Security fix *)
+--------------------------+



WHERE TO FIND THE NEW PACKAGES:
+-----------------------------+

Updated package for Slackware 9.0:
ftp://ftp.slackware.com/pub/slackware/slackware-9.0/patches/packages/sysvinit-2.84-i386-26.tgz



MD5 SIGNATURES:
+-------------+

Slackware 9.0 package:
966281dbd4e8cac23264021b9ad48f61 sysvinit-2.84-i386-26.tgz



INSTALLATION INSTRUCTIONS:
+------------------------+

Upgrade using upgradepkg (as root):

upgradepkg sysvinit-2.84-i386-26.tgz

Then, you'll need to move the new version of rc.M into place, as rc.M
is considered a config file and upgradepkg will not overwrite these by
default:

mv /etc/rc.d/rc.M.new /etc/rc.d/rc.M



+-----+

Slackware Linux Security Team
http://slackware.com/gpg-key
[email protected]

+------------------------------------------------------------------------+
| HOW TO REMOVE YOURSELF FROM THIS MAILING LIST: |
+------------------------------------------------------------------------+
| Send an email to [email protected] with this text in the body of |
| the email message: |
| |
| unsubscribe slackware-security |
| |
| You will get a confirmation message back. Follow the instructions to |
| complete the unsubscription. Do not reply to this message to |
| unsubscribe! |
+------------------------------------------------------------------------+

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+zQi6akRjwEAQIjMRAnTWAKCDkNiaJJNZcotfkePT9Q7KfeeA2ACeJhdS
wlWeqta1DcVMm5dbtEomBdQ=
=RBNc
-----END PGP SIGNATURE-----


Newsletter signup

Signup to our monthly newsletter and stay in touch with IT news!

Free E-books

We've got ebooks! But they're not online. :( Please give us a few days to bring downloads back.

Contact

Have something to say or just wanna drop us a line? Please keep this in mind: to spam, we reply with spam.

Contact us »