Description
The securelevels implementation in NetBSD 2.1 and earlier, and Linux 2.6.15 and earlier, allows local users to bypass time setting restrictions and set the clock backwards by setting the clock ahead to the maximum unixtime value (19 Jan 2038), which then wraps around to the minimum value (13 Dec 1901), which can then be set ahead to the desired time, aka "settimeofday() time wrap."
References
- 20060109 Time modification flaw in BSD securelevels on NetBSD and Linux mailing-list
- 20060109 Time modification flaw in BSD securelevels on NetBSD and Linux mailing-list
- http://www.redteam-pentesting.de/advisories/rt-sa-2005-16.txt
- bsd-securelevel-settimeofday-bypass(24036) vdb-entry
- 16170 vdb-entry
- 20070615 rPSA-2007-0124-1 kernel xen mailing-list
- 1015454 vdb-entry
- 25691 third-party-advisory