CVE-2023-46400

KWHotel 0.47 is vulnerable to CSV Formula Injection in the add guest function

Medium · published January 23, 2025

CVSS v3.1
4.3
EPSS
0%
Percentile
30.0
In the wild
Unconfirmed
What it is

⚠️ A simple guest entry could turn into a formula nightmare! KWHotel 0.47 is vulnerable to CSV Formula Injection, and it’s surprisingly easy for attackers to exploit. 🔥 Think of it like a restaurant taking orders without confirming the ingredients. If a diner slips in a secret recipe, it could spoil the entire dish! In this case, malicious data can manipulate how your data is interpreted when opened in a spreadsheet. An attacker could exploit this vulnerability to inject harmful formulas that execute when the CSV file is opened. This can lead to data corruption, unexpected calculations, or even reveal sensitive information to an unsuspecting user. It’s a sneaky way to cause chaos from a seemingly harmless action!

Put simply

Think of it like a restaurant taking orders without confirming the ingredients. If a diner slips in a secret recipe, it could spoil the entire dish! In this case, malicious data can manipulate how your data is interpreted when opened in a spreadsheet. The CSV Formula Injection in KWHotel's 'add guest' function allows users to include malicious formulas in fields that should only contain plain text. When the CSV file is processed, these formulas can execute unintended commands in spreadsheet applications.

What to do

An attacker could exploit this vulnerability to inject harmful formulas that execute when the CSV file is opened. This can lead to data corruption, unexpected calculations, or even reveal sensitive information to an unsuspecting user. It’s a sneaky way to cause chaos from a seemingly harmless action! To protect against this vulnerability, update KWHotel to the latest version where the issue is patched. Additionally, sanitize inputs to ensure that any data being exported cannot contain special characters that could be interpreted as formulas. Regularly audit your applications for similar vulnerabilities! You've got this! By following these steps, you’ll turn this vulnerability into just another success story! 🛡️

The record
Technical detail
CVSS v3.1
4.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00373 · 30.0th percentile
Published
2025-01-23T00:00Z
EPSS history
Timeline
  • 23 JAN 00:00Z
    KWHotel 0.47 is vulnerable to CSV Formula Injection in the add guest function
    cvelistv5