CyberRota Analysis
AI-GeneratedAffected versions of MISP (up to 2.5.45) have a vulnerability that causes incorrect access-log data to be recorded for requests that encounter exceptions, leading to potential overwrites of critical metrics such as request duration and SQL query counts. This issue arises from the CakeErrorController's behavior, which inadvertently triggers the logging process twice for a single HTTP request. Organizations using MISP should prioritize addressing this vulnerability to ensure the integrity of their access logs and maintain accurate monitoring of system performance.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Affected versions of MISP can record incorrect access-log data for requests that terminate in an exception. Because CakeErrorController extends AppController, exception rendering runs the application startup path a second time. As a result, __accessMonitor() calls AccessLog::logRequest() twice for one HTTP request. The second deferred writer measures the error-controller execution instead of the original request and can overwrite the row created by the first pass. The corrupted fields include request duration, SQL query count, memory usage, and potentially the recorded query log. The bug was masked because the same model instance retained the ID of the first saved row, causing the later save to issue an UPDATE rather than insert an obvious duplicate row. Version affected: ≤2.5.45