Description
A low-privileged remote attacker can exploit the ubr-logread method in wwwubr.cgi to read arbitrary files on the system. The endpoint accepts a parameter specifying the log file to open (e.g., /tmp/weblog{some_number}), but this parameter is not properly validated, allowing an attacker to modify it to reference any file and retrieve its contents.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MBS | UBR-01 Mk II | 0.0.0 – < 6.0.1.0 | 6.0.1.0 |
| MBS | UBR-02 | 0.0.0 – < 6.0.1.0 | 6.0.1.0 |
| MBS | UBR-LON | 0.0.0 – < 6.0.1.0 | 6.0.1.0 |