View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0006005 | SOGo | Web Mail | public | 2024-08-19 23:55 | 2024-09-12 07:01 |
| Reporter | julian123 | Assigned To | qhivert | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | won't fix | ||
| Platform | [Server] Linux | OS | Ubuntu | OS Version | 16.04 LTS |
| Product Version | 5.10.0 | ||||
| Summary | 0006005: Upload of SVG file type leads to Stored-XSS | ||||
| Description | Uploading SVG files with cross-site scripting payloads embedded are executed when opened in another tab. | ||||
| Steps To Reproduce |
<svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg"> </svg> | ||||
| Tags | attachement | ||||
|
Can you try this one with the nightly? I don't reproduce it and the script is shown but not executed. |
|
|
Sure thing, I'll have to test it after work today. I am using the client through Mailcow so I'll have to update that all, I'll let you know the result of my findings. Thanks! |
|
|
Hi, you're correct, SVG files no longer execute in 5.11, however PDF files with embedded JavaScript do. I'd consider changing them from previewing to downloading automatically if opened in a new tab. I can provide a POC pdf for you if you would like. |
|
|
Yes please |
|
|
Attached PoC to this note |
|
|
Hello, Alinto decides we will not prevent people from previewing pdf file as this is up to your security/antispam to catch them and user's responsability to only open .pdf files from trusted sources. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2024-08-19 23:55 | julian123 | New Issue | |
| 2024-08-19 23:55 | julian123 | Tag Attached: attachement | |
| 2024-08-20 14:19 | qhivert | Note Added: 0017819 | |
| 2024-08-20 14:19 | qhivert | Assigned To | => qhivert |
| 2024-08-20 14:19 | qhivert | Status | new => feedback |
| 2024-08-20 14:31 | julian123 | Note Added: 0017821 | |
| 2024-08-20 14:31 | julian123 | Status | feedback => assigned |
| 2024-08-20 22:53 | julian123 | Note Added: 0017823 | |
| 2024-08-21 07:08 | qhivert | Note Added: 0017824 | |
| 2024-08-21 07:08 | qhivert | Status | assigned => feedback |
| 2024-08-21 09:52 | julian123 | Note Added: 0017826 | |
| 2024-08-21 09:52 | julian123 | File Added: payload1.pdf | |
| 2024-08-21 09:52 | julian123 | Status | feedback => assigned |
| 2024-09-12 07:01 | qhivert | Note Added: 0017874 | |
| 2024-09-12 07:01 | qhivert | Status | assigned => closed |
| 2024-09-12 07:01 | qhivert | Resolution | open => won't fix |