CVE-2015-1331
published 2015-08-12CVE-2015-1331: lxclock.c in LXC 1.1.2 and earlier allows local users to create arbitrary files via a symlink attack on /run/lock/lxc/*.
PriorityP419medium4.9CVSS 2.0
AVLACLAuNCNICAN
EPSS
0.46%
37.0th percentile
lxclock.c in LXC 1.1.2 and earlier allows local users to create arbitrary files via a symlink attack on /run/lock/lxc/*.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | lxc | < lxc 1:1.0.7-4 (bookworm) | lxc 1:1.0.7-4 (bookworm) |
| linuxcontainers | lxc | <= 1.1.2 | — |
| linuxcontainers | lxc | >= 0 < 1:1.0.7-4 | 1:1.0.7-4 |
| linuxcontainers | lxc | >= 0 < 1:1.0.7-4 | 1:1.0.7-4 |
| linuxcontainers | lxc | >= 0 < 1:1.0.7-4 | 1:1.0.7-4 |
| linuxcontainers | lxc | >= 0 < 1:1.0.7-4 | 1:1.0.7-4 |
| linuxcontainers | lxc | >= 0 < 1.0.7-0ubuntu0.2 | 1.0.7-0ubuntu0.2 |
CVSS provenance
nvdv2.04.9MEDIUMAV:L/AC:L/Au:N/C:N/I:C/A:N
osv4.9MEDIUM
vendor_redhat6.8MEDIUM
vendor_debian4.9MEDIUM
vendor_ubuntu4.9MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
LXC vulnerabilities
vendor_ubuntu·2015-07-22·CVSS 4.9
CVE-2015-1331 [MEDIUM] LXC vulnerabilities
Title: LXC vulnerabilities
Summary: Several security issues were fixed in LXC.
Roman Fiedler discovered that LXC had a directory traversal flaw when creating
lock files. A local attacker could exploit this flaw to create an arbitrary
file as the root user. (CVE-2015-1331)
Roman Fiedler discovered that LXC incorrectly trusted the container's proc
filesystem to set up AppArmor profile changes and SELinux domain transitions. A
local attacker could exploit this flaw to run programs inside the container
that are not confined by AppArmor or SELinux. (CVE-2015-1334)
Instructions: In general, a standard system update will make all the necessary changes. You
will need to restart your previously running LXC containers in Ubuntu 15.04 due
to bug that causes containers to be stopped on during lxc
Red Hat
webkitgtk: arbitrary code execution and denial of service via a crafted web site (WSA-2015-0001)
vendor_redhat·2015-01-26·CVSS 6.8
CVE-2014-1331 [MEDIUM] webkitgtk: arbitrary code execution and denial of service via a crafted web site (WSA-2015-0001)
webkitgtk: arbitrary code execution and denial of service via a crafted web site (WSA-2015-0001)
WebKit, as used in Apple Safari before 6.1.4 and 7.x before 7.0.4, allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption and application crash) via a crafted web site, a different vulnerability than other WebKit CVEs listed in APPLE-SA-2014-05-21-1.
Statement: Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Package: webkitgtk (Red Hat Enterprise Linux 6) - Will not fix
Package: webkitgtk3 (Red Hat Enterprise Linux
Debian
CVE-2015-1331: lxc - lxclock.c in LXC 1.1.2 and earlier allows local users to create arbitrary files ...
vendor_debian·2015·CVSS 4.9
CVE-2015-1331 [MEDIUM] CVE-2015-1331: lxc - lxclock.c in LXC 1.1.2 and earlier allows local users to create arbitrary files ...
lxclock.c in LXC 1.1.2 and earlier allows local users to create arbitrary files via a symlink attack on /run/lock/lxc/*.
Scope: local
bookworm: resolved (fixed in 1:1.0.7-4)
bullseye: resolved (fixed in 1:1.0.7-4)
forky: resolved (fixed in 1:1.0.7-4)
sid: resolved (fixed in 1:1.0.7-4)
trixie: resolved (fixed in 1:1.0.7-4)
GHSA
GHSA-h6rp-phmv-c3rw: lxclock
ghsa_unreviewed·2022-05-14
CVE-2015-1331 [MEDIUM] CWE-59 GHSA-h6rp-phmv-c3rw: lxclock
lxclock.c in LXC 1.1.2 and earlier allows local users to create arbitrary files via a symlink attack on /run/lock/lxc/*.
OSV
CVE-2015-1331: lxclock
osv·2015-08-12·CVSS 4.9
CVE-2015-1331 [MEDIUM] CVE-2015-1331: lxclock
lxclock.c in LXC 1.1.2 and earlier allows local users to create arbitrary files via a symlink attack on /run/lock/lxc/*.
OSV
lxc vulnerabilities
osv·2015-07-22·CVSS 4.9
CVE-2015-1331 [MEDIUM] lxc vulnerabilities
lxc vulnerabilities
Roman Fiedler discovered that LXC had a directory traversal flaw when creating
lock files. A local attacker could exploit this flaw to create an arbitrary
file as the root user. (CVE-2015-1331)
Roman Fiedler discovered that LXC incorrectly trusted the container's proc
filesystem to set up AppArmor profile changes and SELinux domain transitions. A
local attacker could exploit this flaw to run programs inside the container
that are not confined by AppArmor or SELinux. (CVE-2015-1334)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2015-1331 lxc: directory traversal flaw
bugzilla·2015-07-23·CVSS 4.9
CVE-2015-1331 [MEDIUM] CVE-2015-1331 lxc: directory traversal flaw
CVE-2015-1331 lxc: directory traversal flaw
A directory traversal flaw was found in LXC that allows arbitrary file creation as the root user. A local attacker must set up a symlink at /run/lock/lxc/var/lib/lxc/, prior to an admin ever creating an LXC container on the system. If an admin then creates a container with a name matching , the symlink will be followed and LXC will create an empty file at the symlink's target as the root user.
This issues is reported to affect versions 1.0.0 and later.
Additional information:
https://launchpad.net/bugs/1470842
Upstream patches:
https://github.com/lxc/lxc/commit/72cf81f6a3404e35028567db2c99a90406e9c6e6 (master)
https://github.com/lxc/lxc/commit/61ecf69d7834921cc078e14d1b36c459ad8f91c7 (stable-1.1)
https://github.com/lxc/lxc/commit/f547349ea7
Bugzilla
CVE-2015-1331 CVE-2015-1334 lxc: various flaws [epel-all]
bugzilla·2015-07-23·CVSS 4.9
CVE-2015-1331 [MEDIUM] CVE-2015-1331 CVE-2015-1334 lxc: various flaws [epel-all]
CVE-2015-1331 CVE-2015-1334 lxc: various flaws [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora EPEL. Wh
Bugzilla
CVE-2015-1331 CVE-2015-1334 lxc: various flaws [fedora-all]
bugzilla·2015-07-23·CVSS 4.9
CVE-2015-1331 [MEDIUM] CVE-2015-1331 CVE-2015-1334 lxc: various flaws [fedora-all]
CVE-2015-1331 CVE-2015-1334 lxc: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora. While only
Bugzilla
CVE-2014-1331 webkitgtk: arbitrary code execution and denial of service via a crafted web site (WSA-2015-0001)
bugzilla·2015-01-27·CVSS 6.8
CVE-2014-1331 [MEDIUM] CVE-2014-1331 webkitgtk: arbitrary code execution and denial of service via a crafted web site (WSA-2015-0001)
CVE-2014-1331 webkitgtk: arbitrary code execution and denial of service via a crafted web site (WSA-2015-0001)
Following vulnerability was discovered on the 2.4 stable series of WebKitGTK+:
CVE-2014-1331
WebKit, as used in Apple Safari before 6.1.4 and 7.x before 7.0.4, allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption and application crash) via a crafted web site, a different vulnerability than other WebKit CVEs listed in APPLE-SA-2014-05-21-1.
External References:
http://webkitgtk.org/security/WSA-2015-0001.html
Discussion:
Statement:
Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Se
http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00073.htmlhttp://lists.opensuse.org/opensuse-updates/2015-07/msg00066.htmlhttp://www.debian.org/security/2015/dsa-3317http://www.securityfocus.com/bid/75999http://www.ubuntu.com/usn/USN-2675-1https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1470842https://github.com/lxc/lxc/commit/72cf81f6a3404e35028567db2c99a90406e9c6e6https://service.ait.ac.at/security/2015/LxcSecurityAnalysis.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-05/msg00073.htmlhttp://lists.opensuse.org/opensuse-updates/2015-07/msg00066.htmlhttp://www.debian.org/security/2015/dsa-3317http://www.securityfocus.com/bid/75999http://www.ubuntu.com/usn/USN-2675-1https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1470842https://github.com/lxc/lxc/commit/72cf81f6a3404e35028567db2c99a90406e9c6e6https://service.ait.ac.at/security/2015/LxcSecurityAnalysis.html
2015-08-12
Published