SB2024072309 - Multiple vulnerabilities in Ankitects Anki



SB2024072309 - Multiple vulnerabilities in Ankitects Anki

Published: July 23, 2024

Security Bulletin ID SB2024072309
CSH Severity
High
Patch available
YES
Number of vulnerabilities 4
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 25% Medium 25% Low 50%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 4 vulnerabilities.


1) Cross-site scripting (CVE-ID: CVE-2024-32484)

CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Clear


The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data within the handling of invalid paths in the Flask server. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


2) Improper Neutralization of Special Elements in Output Used by a Downstream Component (CVE-ID: CVE-2024-26020)

CWE-ID: CWE-74 - Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber


The vulnerability allows a remote attacker to execute arbitrary code on the system.

The vulnerability exists due to arbitrary script execution issue in the MPV functionality. A remote attacker can use a specially crafted flashcard and execute arbitrary code on the target system.


3) Inclusion of Functionality from Untrusted Control Sphere (CVE-ID: CVE-2024-29073)

CWE-ID: CWE-829 - Inclusion of Functionality from Untrusted Control Sphere

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green


The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to inclusion of functionality from untrusted control sphere within the handling of Latex. A remote attacker can use a specially crafted flashcard and read arbitrary files on the system.


4) Incomplete List of Disallowed Inputs (CVE-ID: CVE-2024-32152)

CWE-ID: CWE-184 - Incomplete List of Disallowed Inputs

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear


The vulnerability allows a remote attacker to bypass a blocklist.

The vulnerability exists due to incomplete list of disallowed inputs in the LaTeX functionality. A remote attacker can use a specially crafted flashcard and create arbitrary file at a fixed path.


Remediation

Install update from vendor's website.