Back to Codebase

Vulnerability Analysis Report

OpenCart Core v4.0.1.0

Scan ID: SCAN-OPENCART-CORE-nL1A85 • Hash: c44e5038

Severity Score
High
Total Findings
5
Engine Version
ECOMGUARD-HYBRID-AST-1.5
Scan Duration
0.422s

Vulnerability Details

L173

Potential SQL Injection in option.php

CWE-89
File Location: upload/admin/model/catalog/option.php:173
Security Score:
94 / 100
Confirmed Issue

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. High Severity (Confirmed via full AST flow control tracing). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- $query = $this->db->query("SELECT COUNT(*) AS `total` FROM `" . DB_PREFIX . "option`");
+ $this->db->query("SELECT ... WHERE field = '" . $this->db->escape($variable) . "'");
L104

Potential SQL Injection in subscription_plan.php

CWE-89
File Location: upload/admin/model/catalog/subscription_plan.php:104
Security Score:
94 / 100
Confirmed Issue

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. High Severity (Confirmed via full AST flow control tracing). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- $query = $this->db->query("SELECT COUNT(*) AS `total` FROM `" . DB_PREFIX . "subscription_plan`");
+ $this->db->query("SELECT ... WHERE field = '" . $this->db->escape($variable) . "'");
L45

Potential SQL Injection in address_format.php

CWE-89
File Location: upload/admin/model/localisation/address_format.php:45
Security Score:
94 / 100
Confirmed Issue

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. High Severity (Confirmed via full AST flow control tracing). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- $query = $this->db->query("SELECT COUNT(*) AS `total` FROM `" . DB_PREFIX . "address_format`");
+ $this->db->query("SELECT ... WHERE field = '" . $this->db->escape($variable) . "'");
L35

Potential SQL Injection in theme.php

CWE-89
File Location: upload/admin/model/design/theme.php:35
Security Score:
93 / 100
Confirmed Issue

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. High Severity (Confirmed via full AST flow control tracing). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- $query = $this->db->query("SELECT COUNT(*) AS `total` FROM `" . DB_PREFIX . "theme`");
+ $this->db->query("SELECT ... WHERE field = '" . $this->db->escape($variable) . "'");
L168

Potential SQL Injection in manufacturer.php

CWE-89
File Location: upload/admin/model/catalog/manufacturer.php:168
Security Score:
92 / 100
Confirmed Issue

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. High Severity (Confirmed via full AST flow control tracing). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- $query = $this->db->query("SELECT COUNT(*) AS `total` FROM `" . DB_PREFIX . "manufacturer`");
+ $this->db->query("SELECT ... WHERE field = '" . $this->db->escape($variable) . "'");