| 제목 | Reflected XSS on cod_agenda parameter in portabilis/i-educar |
|---|
| 설명 | Hello team, I hope you are doing well on the other side of the screen :)
Vulnerable Application (open source project) = https://github.com/portabilis/i-educar/
I just find a Reflected XSS vulnerability into cod_agenda parâmeter. This parameter doesn't use any input user validation, resulting javascript code injection.
### PoC
Vulnerable file: ieducar\intranet\agenda_imprimir.php
Vulnerable lines: *58 - 60
The code $_GET['cod_agenda'] get's the user's input and attribute to cod_agenda variable without doing the appropriate sanitization.
Full URL: http://localhost/intranet/agenda_imprimir.php?cod_agenda=");'> <script>alert(document.cookie)</script>
Endpoint: /intranet/agenda_imprimir.php?cod_agenda=
Payload: ");'> <script>alert(document.cookie)</script>
### Impact
This vulnerability allows attacker steal user's cookie and login as a privilege user in the platform |
|---|
| 사용자 | bandoler0 (UID 55824) |
|---|
| 제출 | 2023. 10. 05. PM 09:29 (3 연령 ago) |
|---|
| 모더레이션 | 2023. 10. 13. PM 08:52 (8 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 242143 [Portábilis i-Educar 까지 2.7.5 HTTP GET Request agenda_imprimir.php cod_agenda 크로스 사이트 스크립팅] |
|---|
| 포인트들 | 17 |
|---|