Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2015-1340— chmod race in doUidshiftIntoContainer

Quick assessment

Affected
Ubuntu LXD
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

LXD是一款基于Linux系统用于管理应用程序的容器。 LXD 0.19-0ubuntu5之前版本中存在安全漏洞,该漏洞源于程序没有安全地调用Chmod()。攻击者可利用该漏洞将系统上的文件更改成任意状态。

AI Predicted 8.8 Difficulty: Moderate EPSS 0.90% · P58

Possible ATT&CK Techniques 2 AI

T1078 · Valid Accounts T1079
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2015-1340

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
chmod race in doUidshiftIntoContainer
Source: CVE Program / CVE List V5
Vulnerability Description
LXD before version 0.19-0ubuntu5 doUidshiftIntoContainer() has an unsafe Chmod() call that races against the stat in the Filepath.Walk() function. A symbolic link created in that window could cause any file on the system to have any mode of the attacker's choice.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
LXD 竞争条件问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
LXD是一款基于Linux系统用于管理应用程序的容器。 LXD 0.19-0ubuntu5之前版本中存在安全漏洞,该漏洞源于程序没有安全地调用Chmod()。攻击者可利用该漏洞将系统上的文件更改成任意状态。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Ubuntu LXD unspecified ~ 0.19-0ubuntu5 -

II. Public POCs for CVE-2015-1340

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2015-1340

请登录查看更多情报信息。

Patches & Fixes for CVE-2015-1340 (1)

Same Patch Batch · Ubuntu · 2019-04-22 · 15 CVEs total

CVE-2014-1426 get_file_by_name does not check owner
CVE-2014-1427 MAAS API vulnerable to CSRF attack
CVE-2014-1428 uuid.uuid1() is not suitable as an unguessable identifier/token
CVE-2015-1316 Juju Joyent provider uploads user's private ssh key by default
CVE-2015-1320 Probe-and-enlist for SeaMicro chassis writes password to the log
CVE-2015-1326 python-dbusmock arbitrary code execution or file overwrite when templates are loaded from
CVE-2015-1327 Content-hub DBUS API doesn't prevent confined apps from passing paths to files without acc
CVE-2015-1341 Apport privilege escalation through Python module imports
CVE-2015-1343 unity-scope-gdrive search feature logs search terms to syslog
CVE-2016-1573 Using a specially crafted fallback art property, scopes can execute arbitrary QML code in
CVE-2016-1579 UDM doesn't check for confinement before running post-processing commands
CVE-2016-1584 Unity8 converged application lifecycle allows background applications to use on-screen key
CVE-2016-1586 Oxide 输入验证错误漏洞
CVE-2016-1587 Snapweb interface 访问控制错误漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2015-1340

No comments yet


Leave a comment