CVE-2023-47109: Prestashop/blockreassurance PrestaShop Blockreassurance BO User Can Vulnerability
MODERATECVE-2023-47109 is a MODERATE (CVSS 5.5) prestashop blockreassurance bo user can vulnerability (CWE-285: Improper Authorization) affecting Prestashop/blockreassurance libraries in the Packagist ecosystem. The issue involves prestashop blockreassurance bo user can remove any file from server when adding a and deleting a block. Remediation is available by upgrading affected packages to version 5.1.4.
CVE-2023-47109 at a Glance
Security Impact
CVSS: 5.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:H).
How to Fix CVE-2023-47109
To remediate this vulnerability, upgrade all affected Prestashop/blockreassurance dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade prestashop/blockreassurance to 5.1.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for prestashop/blockreassurance
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-47109, inspect your project dependencies for Prestashop/blockreassurance:
inspect dependencies for prestashop/blockreassurance
Analyze the terminal output to locate any version of Prestashop/blockreassurance in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.1.4), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-285: Improper Authorization, where the product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action. In Prestashop/blockreassurance, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-47109 Affected Prestashop/blockreassurance Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
prestashop/blockreassurance
|
Packagist |
< 5.1.4
|
5.1.4
|
References
Frequently Asked Questions
What is CVE-2023-47109?
Which Prestashop/blockreassurance versions are affected?
What version fixes CVE-2023-47109?
Is prestashop/blockreassurance affected?
What is the CVSS score of CVE-2023-47109?
What CWE is associated with CVE-2023-47109?
How can I check Packagist dependencies for CVE-2023-47109?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-83j2-qhx2-p7jc",
"modified" : "2023-11-09T16:14:24Z",
"published" : "2023-11-08T17:53:14Z",
"aliases" : [ "CVE-2023-47109" ],
"summary" : "PrestaShop blockreassurance BO User can remove any file from server when adding a and deleting a block",
"details" : "### Impact\nWhen 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.\n\nIt is possible to make the website completely unavailable by removing index.php for example.\n\n### Patches\nv5.1.4\n\n### Workarounds\nNo workaround available\n\n### References\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "prestashop/blockreassurance"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.1.4"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 5.1.3"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/PrestaShop/blockreassurance/security/advisories/GHSA-83j2-qhx2-p7jc"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-47109"
}, {
"type" : "WEB",
"url" : "https://github.com/PrestaShop/blockreassurance/commit/2d0e97bebf795690caffe33c1ab23a9bf43fcdfa"
}, {
"type" : "WEB",
"url" : "https://github.com/PrestaShop/blockreassurance/commit/eec00da564db4c1804b0a0d1e3d9f7ec4e27d823"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/PrestaShop/blockreassurance"
}, {
"type" : "WEB",
"url" : "https://github.com/PrestaShop/blockreassurance/releases/tag/v5.1.4"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-285" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-11-08T17:53:14Z",
"nvd_published_at" : "2023-11-08T22:15:10Z"
}
}