目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2021-42664 PoC — Engineers Online Portal 跨站脚本漏洞

来源
关联漏洞
标题: Engineers Online Portal 跨站脚本漏洞 (CVE-2021-42664)
Description:Engineers Online Portal是开源的一个在线门户。是使用PHP、MySQL 数据库、HTML、CSS、Javascript、jQuery、Ajax、Bootstrap 和一些其他库开发的。 Engineers Online Portal 存在跨站脚本漏洞,该漏洞源于通过 add_quiz.php 的 (1) 测验标题和 (2) 测验描述参数,PHP 中的 Sourcecodester 工程师在线门户中存在存储跨站点脚本 (XSS) 漏洞。攻击者可利用该漏洞在web服务器上运行javasc
Description
 CVE-2021-42664 - Stored Cross-Site Scripting vulnerability in the Engineers online portal system.
介绍
# CVE-2021-42664
CVE-2021-42664 - Stored Cross-Site Scripting vulnerability in the Engineers online portal system. 

# Technical description:
A stored XSS vulnerability exists in the Engineers online portal system. An attacker can leverage this vulnerability in order to run javascript on the web server surfers behalf, which can lead to cookie stealing, defacement and more. 

Affected components -  

Vulnerable page - add_quiz.php

Vulnerable parameters - "quiz_title", "description"

# Steps to exploit:
1) Navigate to http://localhost/nia_munoz_monitoring_system/add_quiz.php
2) Insert your payload in the "quiz_title" parameter or the "description" parameter
3) Click save

# Proof of concept (Poc) -
The following payload will allow you to run the javascript code - 
```
<script>alert("This is an XSS")</script>
```

![CVE-2021-42664](https://user-images.githubusercontent.com/93016131/140181371-4ebb424b-a550-40c7-843a-9cbeacd9bb34.gif)

# References -
https://www.exploit-db.com/exploits/50451

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42664

https://nvd.nist.gov/vuln/detail/CVE-2021-42664

# Discovered by - 
Alon Leviev(0xDeku), 22 October, 2021. 
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →