CVE-2013-6441
What it is
The lxc-sshd template (templates/lxc-sshd.in) in LXC before 1.0.0.beta2 uses read-write permissions when mounting /sbin/init, which allows local users to gain privileges by modifying the init file.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.5% in the next 30 days (EPSS).
- Severity: 7.2 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.5% · EPSS, next 30 days
- Weakness
- CWE-264
- Record status
- Modified
Affected
- Linuxcontainers Lxc ≤ 0.9.0
- Linuxcontainers Lxc 0.1.0
- Linuxcontainers Lxc 0.2.0
- Linuxcontainers Lxc 0.2.1
- Linuxcontainers Lxc 0.3.0
- Linuxcontainers Lxc 0.4.0
- Linuxcontainers Lxc 0.5.0
- Linuxcontainers Lxc 0.5.1
Attack profile CVSS 2.0 · 7.2
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:L/AC:L/Au:N/C:C/I:C/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2013-6441.md and follow it. Check whether this project is affected by CVE-2013-6441. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/dotcloud/lxc/pull/1
- https://github.com/lxc/lxc/commit/f4d5cc8e1f39d132b61e110674528cac727ae0e2
- https://github.com/dotcloud/lxc/pull/1
- https://github.com/lxc/lxc/commit/f4d5cc8e1f39d132b61e110674528cac727ae0e2
References
- http://www.ubuntu.com/usn/USN-2104-1
- https://bugs.launchpad.net/ubuntu/%2Bsource/lxc/%2Bbug/1261045
- https://github.com/dotcloud/lxc/pull/1
- https://github.com/lxc/lxc/commit/f4d5cc8e1f39d132b61e110674528cac727ae0e2
- http://www.ubuntu.com/usn/USN-2104-1
- https://bugs.launchpad.net/ubuntu/%2Bsource/lxc/%2Bbug/1261045
- https://github.com/dotcloud/lxc/pull/1
- https://github.com/lxc/lxc/commit/f4d5cc8e1f39d132b61e110674528cac727ae0e2