Debian DSA-4962-1 : ledgersmb - security update

critical Nessus Plugin ID 152775

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 11 host has a package installed that is affected by multiple vulnerabilities as referenced in the dsa-4962 advisory.

- LedgerSMB does not check the origin of HTML fragments merged into the browser's DOM. By sending a specially crafted URL to an authenticated user, this flaw can be abused for remote code execution and information disclosure. (CVE-2021-3693)

- LedgerSMB does not sufficiently HTML-encode error messages sent to the browser. By sending a specially crafted URL to an authenticated user, this flaw can be abused for remote code execution and information disclosure. (CVE-2021-3694)

- LedgerSMB does not sufficiently guard against being wrapped by other sites, making it vulnerable to 'clickjacking'. This allows an attacker to trick a targetted user to execute unintended actions.
(CVE-2021-3731)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the ledgersmb packages.

For the stable distribution (bullseye), this problem has been fixed in version 1.6.9+ds-2+deb11u2.

See Also

https://security-tracker.debian.org/tracker/source-package/ledgersmb

https://www.debian.org/security/2021/dsa-4962

https://security-tracker.debian.org/tracker/CVE-2021-3693

https://security-tracker.debian.org/tracker/CVE-2021-3694

https://security-tracker.debian.org/tracker/CVE-2021-3731

https://packages.debian.org/source/bullseye/ledgersmb

Plugin Details

Severity: Critical

ID: 152775

File Name: debian_DSA-4962.nasl

Version: 1.3

Type: local

Agent: unix

Published: 8/24/2021

Updated: 1/20/2022

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.5

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2021-3694

CVSS v3

Risk Factor: Critical

Base Score: 9.6

Temporal Score: 8.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:ledgersmb

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 8/23/2021

Vulnerability Publication Date: 8/23/2021

Reference Information

CVE: CVE-2021-3693, CVE-2021-3694, CVE-2021-3731