Secunia SmallBusiness
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA23730

FreeBSD jail rc.d Security Bypass Vulnerability
Secunia Advisory SA23730
Secunia VIM 4.0 - Free Trial
Release Date 2007-01-12
Last Update 2007-08-02
   
Popularity 13,391 views
Comments 0 comments

Criticality level Less criticalLess critical
Impact Security Bypass
Where Local system
Authentication level This information is available to Secunia VIM customers
   
Report reliability This information is available to Secunia VIM customers
Solution Status Vendor Patch
   
Systems affected This information is available to Secunia VIM customers
Approve distribution This information is available to Secunia VIM customers
   
Operating System
FreeBSD 5.x
FreeBSD 6.x

Secunia CVSS Score This information is available to Secunia VIM Customers
CVE Reference(s) CVE-2007-0166 CVSS score available to Secunia VIM customers
  

Description

A vulnerability has been reported in FreeBSD, which can be exploited by malicious, local users to bypass certain security restrictions.

The vulnerability is caused due to the jail rc.d script not properly checking paths inside a jail file system structure before usage. This can be exploited via symlink attacks by the root user inside a jail to overwrite files outside the jail using /var/log/console.log or to mount or unmount file systems on the host system.

Successful exploitation allows execution of arbitrary commands with non-jailed superuser privileges.

NOTE: The vulnerability occurs only when a jail is being started or stopped using the host's jail rc.d script. Running jails cannot exploit this.

The vulnerability is reported in all FreeBSD releases since 5.3.


Solution
Update FreeBSD or apply patches.
Further details available to Secunia VIM customers

Provided and/or discovered by
The vendor credits Dirk Engling.

Changelog
Further details available to Secunia VIM customers

Original Advisory
http://security.freebsd.org/advisories/FreeBSD-SA-07:01.jail.asc

Deep Links
Links available to Secunia VIM customers


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: FreeBSD jail rc.d Security Bypass Vulnerability
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2013 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability