Demo web server 文件上传漏洞

漏洞信息

漏洞名称: Demo web server 文件上传漏洞

漏洞编号:

  • CVE: CVE-2025-34100

漏洞类型: 文件上传

漏洞等级: 高危

漏洞描述: 该漏洞存在于一个演示用的web服务器中,具体表现为文件上传功能的不当实现。受影响的web服务器主要用于演示目的,可能被部署在测试环境或教育场景中。漏洞的技术根源在于服务器未能正确验证上传文件的类型和内容,导致攻击者可以上传恶意文件。这种漏洞的利用可能导致服务器被完全控制,因为攻击者可以上传webshell等恶意脚本,进而执行任意代码。由于该漏洞不需要任何形式的认证即可利用,因此其风险等级被评估为高危。攻击者可以利用此漏洞进行远程代码执行,进而可能导致数据泄露、服务中断等严重后果。为了防范此类漏洞,建议对所有上传的文件进行严格的类型和内容检查,并确保服务器配置正确,限制上传文件的执行权限。

产品名称: Demo web server

来源: https://github.com/RyanJohnJames/CVE-2025-34100-demo

类型: CVE-2025:github search

仓库文件

  • README.md
  • about.php
  • cheeseburger.jpg
  • cookie.jpg
  • home.php
  • pizza.jpg
  • ramen.jpg
  • refund.php
  • shop.php
  • thankyou.php

来源概述

CVE-2025-34100-demo

Demo web server

[!NOTE]
Do note this is just the PHP files for the website, to understand the CVE properly and have a better POC check https://nvd.nist.gov/vuln/detail/CVE-2025-34100

These files will not cause the CVE, but rather are the entry point to exploit the CVE.

Please put the files like this:

1
2
3
4
5
6
7
8
9
10
11
12
13
/var/www/html/biteinstall/
├── index.php
├── pages
│   ├── about.php
│   ├── home.php
│   ├── refund.php
│   ├── shop.php
│   └── thankyou.php
└── photo
├── cheeseburger.jpg
├── cookie.jpg
├── pizza.jpg
└── ramen.jpg

Ensure that in the refund.php file, the IP ADDRESS is correct!:

1
2
3
4
5
<form method="post" action="http://[YOUR IP ADDRESS FOR YOUR MACHINE]:80/themes/dashboard/assets/plugins/jquery-file-upload/server/php/" enctype="multipart/form-data">
<label>Attach a photo of your receipt</label><br>
<input type="file" name="files[]" />
<input type="submit" value="send" />
</form>