In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Arbitrary Code Injection vulnerabilities in an interactive lesson.
Start learningUpgrade algolia/algoliasearch-magento-2 to version 3.16.2, 3.17.2 or higher.
algolia/algoliasearch-magento-2 is an Algolia Search & Discovery extension for Magento 2
Affected versions of this package are vulnerable to Arbitrary Code Injection via the job execution process. An attacker can execute arbitrary PHP code by injecting malicious data into the database records used by the indexing queue.
Note: This is only exploitable if the attacker can write to the database and the indexing queue is enabled.
This vulnerability can be mitigated by disabling the indexing queue, restricting job execution logic to an explicit allowlist of permitted operations, and reviewing the contents of the algoliasearch_queue and algoliasearch_queue_archive tables for unexpected entries.