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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-6395— Mock: privilege escalation for users that can access mock configuration

Quick assessment

Affected
n/a mock
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.

Mock是一个环境构建管理器。 Mock存在安全漏洞,该漏洞源于缺乏适当的沙箱,攻击者利用该漏洞可能进行权限升级,以root用户权限执行任意代码。

CVSS 6.7 · Medium EPSS 1.55% · P74
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-6395

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
Mock: privilege escalation for users that can access mock configuration
Source: CVE Program / CVE List V5
Vulnerability Description
The Mock software contains a vulnerability wherein an attacker could potentially exploit privilege escalation, enabling the execution of arbitrary code with root user privileges. This weakness stems from the absence of proper sandboxing during the expansion and execution of Jinja2 templates, which may be included in certain configuration parameters. While the Mock documentation advises treating users added to the mock group as privileged, certain build systems invoking mock on behalf of users might inadvertently permit less privileged users to define configuration tags. These tags could then be passed as parameters to mock during execution, potentially leading to the utilization of Jinja2 templates for remote privilege escalation and the execution of arbitrary code as the root user on the build server.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
输入验证不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
Mock 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Mock是一个环境构建管理器。 Mock存在安全漏洞,该漏洞源于缺乏适当的沙箱,攻击者利用该漏洞可能进行权限升级,以root用户权限执行任意代码。
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
- mock - -
Red Hat Red Hat Enterprise Linux 6 - cpe:/o:redhat:enterprise_linux:6
Fedora Extra Packages for Enterprise Linux - -
Fedora Fedora - -

II. Public POCs for CVE-2023-6395

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-6395

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

Patches & Fixes for CVE-2023-6395 (2)

Vendor Advisories for CVE-2023-6395 (2)

Mailing List Discussions for CVE-2023-6395 (4)

Same Patch Batch · n/a · 2024-01-16 · 28 CVEs total

CVE-2023-34063 9.9 CRITICAL VMware Aria Automation和VMware Cloud Foundation 安全漏洞
CVE-2024-0603 7.3 HIGH ZhiCms giftcontroller.php deserialization
CVE-2011-10005 6.3 MEDIUM EasyFTP MKD Command buffer overflow
CVE-2024-0599 3.5 LOW Jspxcms Document Management Page InfoController.java cross site scripting
CVE-2024-22626 Supplier Management System 安全漏洞
CVE-2024-22916 D-LINK Go-RT-AC750 安全漏洞
CVE-2023-51807 OFCMS 安全漏洞
CVE-2023-36236 Webkul Software Bagisto 安全漏洞
CVE-2023-52068 kodbox 安全漏洞
CVE-2023-52042 TOTOLINK X6000R 安全漏洞
CVE-2023-48926 PrestaShop 安全漏洞
CVE-2023-39691 kodbox 安全漏洞
CVE-2024-22628 Sourcecodester Budget And Expense Tracker System 安全漏洞
CVE-2024-22627 Supplier Management System 安全漏洞
CVE-2023-48104 SOGo 安全漏洞
CVE-2024-22625 Supplier Management System 安全漏洞
CVE-2024-22491 beetl-bbs 安全漏洞
CVE-2023-52041 TOTOLINK X6000R 安全漏洞
CVE-2023-49351 Edimax BR6478AC 安全漏洞
CVE-2023-51810 StackIdeas EasyDiscuss 安全漏洞

Showing top 20 of 28 CVEs. View all on vendor page → →

IV. Related Vulnerabilities

V. Comments for CVE-2023-6395

No comments yet


Leave a comment