GHSA-83j2-qhx2-p7jcmedium5.5
PrestaShop blockreassurance BO User can remove any file from server when adding a and deleting a block
The advisory, in context
Impact
When adding a block in blockreassurance module, a BO user can modify the http request and give the path of any file in the project instead of an image. When deleting the block from the BO, the file will be deleted.
It is possible to make the website completely unavailable by removing index.php for example.
Patches
v5.1.4
Workarounds
No workaround available
References
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
prestashop/blockreassurance Packagist
Ecosystem versions
Earlier releases before 5.1.4
Fixed in 5.1.4
16 explicitly affected versions
v1.0.1, v1.0.5, v1.0.6, v2.0.0, v2.0.1, v2.0.2, v2.0.3, v3.0.0, v3.0.1, v4.1.0, v4.1.1, v5.0.0, v5.1.0, v5.1.1, v5.1.2, v5.1.3
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.1.4"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v1.0.1",
"v1.0.5",
"v1.0.6",
"v2.0.0",
"v2.0.1",
"v2.0.2",
"v2.0.3",
"v3.0.0",
"v3.0.1",
"v4.1.0",
"v4.1.1",
"v5.0.0",
"v5.1.0",
"v5.1.1",
"v5.1.2",
"v5.1.3"
]
}References
- https://github.com/PrestaShop/blockreassurance/security/advisories/GHSA-83j2-qhx2-p7jc
- https://nvd.nist.gov/vuln/detail/CVE-2023-47109
- https://github.com/PrestaShop/blockreassurance/commit/2d0e97bebf795690caffe33c1ab23a9bf43fcdfa
- https://github.com/PrestaShop/blockreassurance/commit/eec00da564db4c1804b0a0d1e3d9f7ec4e27d823
- https://github.com/PrestaShop/blockreassurance
- https://github.com/PrestaShop/blockreassurance/releases/tag/v5.1.4