Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Less critical

FreeBSD jail rc.d Security Bypass Vulnerability

-

Release Date:  2007-01-12    Last Update:  2007-08-02    Views:  13,654

Secunia Advisory SA23730

Where:

Local system

Impact:

Security Bypass

Solution Status:

Vendor Patch

Operating System:

CVE Reference(s):

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.

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-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability