barryvdh/laravel-translation-manager
Affected
- introduced
0, fixed0.6.2(ecosystem)
Fixed versions
0.6.2
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: None
Possibility for Denial of Service by overwriting PHP files with language exports
Impact
Laravel Translation Manager didn't check the locale name, which allowed directory traversal when exporting files. The content would be a PHP file returning an array of translations, but this could lead to unexpected results, like denial of service. Access to the Laravel Translation Manager is required, because a new locale would have to be added and published.
Patches
Version 0.6.2 fixes this issue.
Workarounds
Only allow trusted admins to publish/edit translations.
References
https://github.com/barryvdh/laravel-translation-manager/pull/417
For more information
If you have any questions or comments about this advisory:
Credits
Found and reported by Natalia Trojanowska
Medium Basis: The source's own band: MODERATE
0, fixed 0.6.2 (ecosystem)0.6.2
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0