Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
cve-2025-5054 — 基于 Python 的漏洞检测器,用于 Ubuntu 上的 CVE-2025-5054(Apport 竞争条件)。检查 Apport 版本、核心转储配置和 SUID 设置,然后提供可操作的缓解建议。 | Kitploit
工具/GitHubGitHub/daryllundy/cve-2025-5054
漏洞扫描器漏洞分析漏洞利用信息收集渗透测试
GitHubdaryllundy/cve-2025-5054

cve-2025-5054

基于 Python 的漏洞检测器,用于 Ubuntu 上的 CVE-2025-5054(Apport 竞争条件)。检查 Apport 版本、核心转储配置和 SUID 设置,然后提供可操作的缓解建议。

查看仓库
211年前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2025-5054 漏洞检测工具

一个 Python 工具,用于检查您的 Ubuntu 系统是否存在 CVE-2025-5054 漏洞,这是 Apport 中的一个竞态条件,可导致本地信息泄露。该工具执行一系列检查以确定您系统的状态,并在受影响时提供建议。


功能

  • 检测系统是否正在运行 Ubuntu 并提取版本信息
  • 检查是否安装了 Apport 并确定其版本
  • 判断已安装的 Apport 版本是否存在漏洞(≤ 2.32.0)
  • 检查 Apport 是否配置为核心转储处理器
  • 验证缓解设置(例如 suid_dumpable)
  • 查找常见的攻击向量(例如 SUID/SGID unix_chkpwd)
  • 提供清晰的摘要和可操作的建议

要求

  • Python 3.12 或更高版本
  • 无外部依赖

安装

  1. 克隆仓库:

    root@kitploit:~
    git clone https://github.com/daryllundy/cve-2025-5054
    cd cve-2025-5054
    
  2. 使用 uv 创建并激活虚拟环境:

    root@kitploit:~
    uv venv
    source .venv/bin/activate
    

用法

为获得最佳效果,请以 root 身份(sudo)运行以完成所有检查。

root@kitploit:~
uv run cve_2025_5054_detector.py

示例输出:

root@kitploit:~
============================================================
CVE-2025-5054 Vulnerability Detection Tool
============================================================

[*] Checking operating system...
[*] Checking if Apport is installed...
[*] Checking Apport version...
[*] Checking core dump configuration...
[*] Checking suid_dumpable setting...
[*] Checking for unix_chkpwd...

============================================================
DETECTION RESULTS
============================================================
[OS Check] INFO: Ubuntu 22.04 detected
[Apport Check] INFO: Apport version 2.32.0 installed
[Version Check] VULNERABLE: Version 2.32.0 is vulnerable
[Core Pattern] INFO: Apport is configured as core dump handler
[Mitigation] WARNING: suid_dumpable=1 (default, vulnerable)
[Attack Vector] INFO: unix_chkpwd found at /usr/sbin/unix_chkpwd (not SUID/SGID)

============================================================
SUMMARY
============================================================
[!] YOUR SYSTEM APPEARS TO BE VULNERABLE TO CVE-2025-5054

Recommended actions:
1. Update Apport to the latest version:
   sudo apt update && sudo apt upgrade apport

2. As a temporary mitigation, disable SUID core dumps:
   sudo sysctl fs.suid_dumpable=0
   echo 'fs.suid_dumpable=0' | sudo tee -a /etc/sysctl.conf

3. Consider disabling Apport temporarily if updates are not available:
   sudo systemctl stop apport.service
   sudo systemctl disable apport.service

许可证

本项目采用 MIT 许可证 进行许可。


致谢

由 Daryl Lundy 开发

下载工具