WWBN AVideo's GIF poster fetch bypasses traversal scrubbing and exposes local files through public media URLs
Summary
objects/aVideoEncoderReceiveImage.json.php allowed an authenticated uploader to fetch attacker-controlled same-origin /videos/... URLs, bypass traversal scrubbing, and expose server-local files through the GIF poster storage path.
The vulnerable GIF branch could be abused to read local files such as /etc/passwd or application source files and republish those bytes through a normal public GIF media URL.
Details
The vulnerable chain was:
objects/aVideoEncoderReceiveImage.json.phpaccepted attacker-controlleddownloadURL_gifimage- traversal scrubbing used
str_replace('../', '', ...), which was bypassable with overlapping input such as....// - same-origin
/videos/...URLs were accepted url_get_contents()andtry_get_contents_from_local()resolved the request into a local filesystem read- the fetched bytes were written into the GIF destination
- invalid GIF cleanup used the wrong variable, so the non-image payload remained on disk
This made the GIF poster path a local file disclosure primitive with public retrieval.
Proof of concept
- Log in as an uploader and create an owned video row through the normal encoder flow.
- Send:
POST /objects/aVideoEncoderReceiveImage.json.php
downloadURL_gifimage=https://localhost/videos/....//....//....//....//....//....//etc/passwd
- Query:
GET /objects/videos.json.php?showAll=1
- Recover the generated GIF URL from
videosURL.gif.url. - Download that GIF URL.
- Observe that the body matches the target local file, such as
/etc/passwd, byte-for-byte.
Impact
An authenticated uploader can read server-local files and republish them through a public GIF media URL by supplying a crafted same-origin /videos/... path to downloadURL_gifimage. Because traversal scrubbing was bypassable and the fetched bytes were written to the GIF destination without effective invalid-image cleanup, successful exploitation allows disclosure of files such as /etc/passwd, readable application source code, or deployment-specific configuration accessible to the application.
Recommended fix
- Reject any remote image URL whose decoded path contains traversal markers
- Do not allow attacker-controlled same-origin
/videos/...fetches to resolve into local file reads - Constrain any local shortcut path handling with
realpath()and strict base-directory allowlists - Validate GIF content before saving it into public media storage
- Ensure invalid-image cleanup checks the correct destination path
Czego dotyczy
Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.
| Platforma | Paczka | Podatne wersje | Poprawka w wersji |
|---|---|---|---|
| Paczka Composer | WWBN/AVideo | <= 26.0 | brak poprawki |
Odnośniki
- Wektor CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L- Słabość (CWE)
CWE-22- Platforma
- Composer
- Paczka
WWBN/AVideo- Ujawniono
- 08.04.2026
- Aktualizacja
- 11.10.2026 10:22
Źródła i licencje
OSV / GitHub Advisory Database - GHSA-f4f9-627c-jh33 - CC BY 4.0
Historia podatności: WWBN/AVideo
Wszystkie opisane podatności tej paczki (Paczka Composer), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.
- Wszystkich wpisów
- 160
- Pierwsza → ostatnia
- 04.2022 06.2026
- Bez poprawki
- 143
- Wykorzystywana w atakach
- 0
Rozkład istotności
- Krytyczna 14
- Wysoka 61
- Średnia 83
- Niska 2
Ujawnienia w latach
- 2022: 2
- 2023: 5
- 2024: 5
- 2025: 0
- 2026: 148
-
WWBN AVideo's GIF poster fetch bypasses traversal scrubbing and exposes local files through public media URLs ten wpis
Dowiedz się, które podatności dotyczą Twojej aplikacji
Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.