BSD Securelevels settimeofday() security restriction bypass

bsd-securelevel-settimeofday-bypass (24036) The risk level is classified as LowLow Risk

Description:

The implementation of Securelevels in NetBSD and Linux kernel could allow a local attacker to bypass Securelevel restrictions, caused by an integer overflow vulnerability in the settimeofday() function. A local attacker could exploit this vulnerability to set the kernel time backwards, which could lead to system instability.

*CVSS:

Base Score: 4.9
  Access Vector: Local
  Access Complexity: Low
  Authentication: Not Required
  Confidentiality Impact: Partial
  Integrity Impact: Partial
  Availability Impact: Partial
 
Temporal Score: 3.6
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Bypass Security

Remedy:

For NetBSD:
Refer to NetBSD Security Advisory 2006-002 for patch or upgrade information. See References.

References:

  • Full-Disclosure Mailing List, Mon Jan 09 2006 - 06:30:11 CST: Time modification flaw in BSD securelevels on NetBSD and Linux.
  • NetBSD Security Advisory 2006-002: settimeofday() time wrap.
  • BID-16170: BSD SecureLevel Time Setting Security Restriction Bypass Vulnerability
  • CVE-2005-4352: 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.
  • SECTRACK ID: 1015454: NetBSD settimeofday() Lets Certain Local Users Set the Time Backwards

Platforms Affected:

  • Linux Linux Kernel 2.6.14.1
  • Linux Kernel 2.6.0 test3
  • Linux Kernel 2.6.0 test1
  • Linux Kernel 2.6.0 test10
  • Linux Kernel 2.6.0 test11
  • Linux Kernel 2.6.0 test2
  • Linux Kernel 2.6.0 test9-cvs
  • Linux Kernel 2.6.0 test4
  • Linux Kernel 2.6.0 test5
  • Linux Kernel 2.6.0 test6
  • Linux Kernel 2.6.0 test7
  • Linux Kernel 2.6.0 test8
  • Linux Kernel 2.6.0 test9
  • Linux Kernel 2.6.0
  • Linux Kernel 2.6.1 rc1
  • Linux Kernel 2.6.1 rc2
  • Linux Kernel 2.6.1
  • Linux Kernel 2.6.10 rc2
  • Linux Kernel 2.6.10
  • Linux Kernel 2.6.11 rc3
  • Linux Kernel 2.6.11 rc2
  • Linux Kernel 2.6.11 rc4
  • Linux Kernel 2.6.11
  • Linux Kernel 2.6.11.11
  • Linux Kernel 2.6.11.12
  • Linux Kernel 2.6.11.5
  • Linux Kernel 2.6.11.6
  • Linux Kernel 2.6.11.7
  • Linux Kernel 2.6.11.8
  • Linux Kernel 2.6.12 rc1
  • Linux Kernel 2.6.12 rc4
  • Linux Kernel 2.6.12 rc5
  • Linux Kernel 2.6.12.1
  • Linux Kernel 2.6.12.2
  • Linux Kernel 2.6.12.3
  • Linux Kernel 2.6.12.4
  • Linux Kernel 2.6.12.5
  • Linux Kernel 2.6.12.6
  • Linux Kernel 2.6.13 rc1
  • Linux Kernel 2.6.13 rc7
  • Linux Kernel 2.6.13 rc6
  • Linux Kernel 2.6.13 rc4
  • Linux Kernel 2.6.13
  • Linux Kernel 2.6.13.1
  • Linux Kernel 2.6.13.2
  • Linux Kernel 2.6.13.3
  • Linux Kernel 2.6.13.4
  • Linux Kernel 2.6.14
  • Linux Kernel 2.6.14 rc4
  • Linux Kernel 2.6.14 rc2
  • Linux Kernel 2.6.14 rc1
  • Linux Kernel 2.6.14 rc3
  • Linux Kernel 2.6.15 rc1
  • Linux Kernel 2.6.15 rc2
  • Linux Kernel 2.6.15 rc3
  • Linux Kernel 2.6.3
  • Linux Kernel 2.6.4
  • Linux Kernel 2.6.5
  • Linux Kernel 2.6.6 rc1
  • Linux Kernel 2.6.6
  • Linux Kernel 2.6.7 rc1
  • Linux Kernel 2.6.7
  • Linux Kernel 2.6.8 rc2
  • Linux Kernel 2.6.8 rc1
  • Linux Kernel 2.6.8 rc3
  • Linux Kernel 2.6.8
  • Linux Kernel 2.6.9
  • Linux Linux Kernel 2.6.14.2
  • Linux Linux Kernel 2.6.14.3
  • Linux Linux Kernel 2.6.15
  • Linux Linux Kernel 2.6.2
  • NetBSD NetBSD 1.6
  • NetBSD NetBSD 1.6 beta
  • NetBSD NetBSD 1.6.1
  • NetBSD NetBSD 1.6.2
  • NetBSD NetBSD 2.0
  • NetBSD NetBSD 2.0.1
  • NetBSD NetBSD 2.0.2
  • NetBSD NetBSD 2.0.3
  • NetBSD NetBSD 2.1
  • NetBSD NetBSD CURRENT

Reported:

Jan 09, 2006

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Internet Security Systems

IBM Internet Security Systems is a trusted security advisor to thousands of the world's leading businesses and governments, helping to provide pre-emptive protection for networks, desktops and servers. The IBM Proventia? integrated security platform is designed to automatically protect against both known and unknown threats, helping to keep networks up and running and shield customers from online attacks before they impact business assets. IBM Internet Security Systems products and services are based on the proactive security intelligence of its X-Force? research and development team ? an unequivocal world authority in vulnerability and threat research. The IBM Internet Security Systems product line is also complemented by comprehensive Managed Security Services and Professional Security Services. For more information, visit the IBM Internet Security Systems Web site at www.iss.net or call 800-776-2362.