CVE-2021-39302: SQL Injection

Published Aug 19, 2021
·
Updated

MISP 2.4.148, in certain configurations, allows SQL injection via the app/Model/Log.php $conditions['org'] value.

Affected Software

2 affected components
Misp Misp=2.4.148
Misp-project Misp=2.4.148

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Apply network and application controls while code is remediated: restrict access to the MISP web interface to trusted IPs and/or deploy WAF rules to block SQL-injection payloads and requests containing the vulnerable org parameter or requests that target the functionality implemented in app/Model/Log.php.

  2. Operational

    Inventory your environment and identify all MISP installations running version 2.4.148.

  3. Operational

    Review and remediate the code at app/Model/Log.php: specifically fix handling of the $conditions['org'] value so it cannot be used for SQL injection (validate/whitelist input and stop injecting the value into SQL; use parameterized queries or safe ORM methods).

Event History

Aug 19, 2021
CVE Published
via MITRE·04:25 PM
Data Sourced
via MITRE·04:25 PM
Description
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2021-39302?

CVE-2021-39302 is a vulnerability in MISP 2.4.148 that allows SQL injection via the $conditions['org'] value in the app/Model/Log.php file.

2

What is the severity of CVE-2021-39302?

The severity of CVE-2021-39302 is critical with a CVSS score of 9.8.

3

How does CVE-2021-39302 affect MISP?

CVE-2021-39302 affects MISP version 2.4.148 in certain configurations.

4

How can I fix CVE-2021-39302?

To fix CVE-2021-39302, update to a version of MISP that includes the fix, such as the one mentioned in the reference link.

5

What is CWE-89?

CWE-89 refers to SQL injection vulnerabilities where an attacker can manipulate SQL queries to execute arbitrary SQL code.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203