CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
SINGLE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:S/C:P/I:P/A:P
AI Score
Confidence
Low
EPSS
Percentile
77.9%
The remote host is missing an update for the Debian
# SPDX-FileCopyrightText: 2012 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.70577");
script_cve_id("CVE-2011-3195", "CVE-2011-3196", "CVE-2011-3197", "CVE-2011-3198", "CVE-2011-3199");
script_tag(name:"creation_date", value:"2012-02-11 07:34:48 +0000 (Sat, 11 Feb 2012)");
script_version("2024-02-02T05:06:04+0000");
script_tag(name:"last_modification", value:"2024-02-02 05:06:04 +0000 (Fri, 02 Feb 2024)");
script_tag(name:"cvss_base", value:"6.5");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:P/I:P/A:P");
script_name("Debian: Security Advisory (DSA-2365-1)");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2012 Greenbone AG");
script_family("Debian Local Security Checks");
script_dependencies("gather-package-list.nasl");
script_mandatory_keys("ssh/login/debian_linux", "ssh/login/packages", re:"ssh/login/release=DEB5");
script_xref(name:"Advisory-ID", value:"DSA-2365-1");
script_xref(name:"URL", value:"https://www.debian.org/security/2011/DSA-2365-1");
script_xref(name:"URL", value:"https://security-tracker.debian.org/tracker/DSA-2365");
script_tag(name:"summary", value:"The remote host is missing an update for the Debian 'dtc' package(s) announced via the DSA-2365-1 advisory.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable package version is present on the target host.");
script_tag(name:"insight", value:"Ansgar Burchardt, Mike O'Connor and Philipp Kern discovered multiple vulnerabilities in DTC, a web control panel for admin and accounting hosting services:
CVE-2011-3195
A possible shell insertion has been found in the mailing list handling.
CVE-2011-3196
Unix rights for the apache2.conf were set incorrectly (world readable).
CVE-2011-3197
Incorrect input sanitising for the $_SERVER['addrlink'] parameter could lead to SQL insertion.
CVE-2011-3198
DTC was using the -b option of htpasswd, possibly revealing password in clear text using ps or reading /proc.
CVE-2011-3199
A possible HTML/JavaScript insertion vulnerability has been found in the DNS & MX section of the user panel.
This update also fixes several vulnerabilities, for which no CVE ID has been assigned:
It has been discovered that DTC performs insufficient input sanitising in the package installer, leading to possible unwanted destination directory for installed packages if some DTC application packages are installed (note that these aren't available in Debian main).
DTC was setting-up /etc/sudoers with permissive sudo rights to chrootuid.
Incorrect input sanitizing in the package installer could lead to SQL insertion.
A malicious user could enter a specially crafted support ticket subject leading to an SQL injection in the draw_user_admin.php.
For the oldstable distribution (lenny), this problem has been fixed in version 0.29.18-1+lenny2.
The stable distribution (squeeze) doesn't include dtc.
For the unstable distribution (sid), this problem has been fixed in version 0.34.1-1.
We recommend that you upgrade your dtc packages.");
script_tag(name:"affected", value:"'dtc' package(s) on Debian 5.");
script_tag(name:"solution", value:"Please install the updated package(s).");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"package");
exit(0);
}
include("revisions-lib.inc");
include("pkg-lib-deb.inc");
release = dpkg_get_ssh_release();
if(!release)
exit(0);
res = "";
report = "";
if(release == "DEB5") {
if(!isnull(res = isdpkgvuln(pkg:"dtc-common", ver:"0.29.18-1+lenny2", rls:"DEB5"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"dtc-core", ver:"0.29.18-1+lenny2", rls:"DEB5"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"dtc-cyrus", ver:"0.29.18-1+lenny2", rls:"DEB5"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"dtc-postfix-courier", ver:"0.29.18-1+lenny2", rls:"DEB5"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"dtc-stats-daemon", ver:"0.29.18-1+lenny2", rls:"DEB5"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"dtc-toaster", ver:"0.29.18-1+lenny2", rls:"DEB5"))) {
report += res;
}
if(report != "") {
security_message(data:report);
} else if(__pkg_match) {
exit(99);
}
exit(0);
}
exit(0);