Security mailing lists by PureSourceCode

GHSA-3fvf-2gp4-89wq

MEDIUM

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

Published
18 Mar 2022
Last modified
5 Dec 2024
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Packagist barryvdh/laravel-translation-manager < 0.6.2 0.6.2

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Mar 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.