Vulnerabilities > CVE-2016-1241 - Information Exposure vulnerability in Tryton
Attack vector
NETWORK Attack complexity
HIGH Privileges required
LOW Confidentiality impact
HIGH Integrity impact
NONE Availability impact
NONE Summary
Tryton 3.x before 3.2.17, 3.4.x before 3.4.14, 3.6.x before 3.6.12, 3.8.x before 3.8.8, and 4.x before 4.0.4 allow remote authenticated users to discover user password hashes via unspecified vectors.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Subverting Environment Variable Values The attacker directly or indirectly modifies environment variables used by or controlling the target software. The attacker's goal is to cause the target software to deviate from its expected operation in a manner that benefits the attacker.
- Footprinting An attacker engages in probing and exploration activity to identify constituents and properties of the target. Footprinting is a general term to describe a variety of information gathering techniques, often used by attackers in preparation for some attack. It consists of using tools to learn as much as possible about the composition, configuration, and security mechanisms of the targeted application, system or network. Information that might be collected during a footprinting effort could include open ports, applications and their versions, network topology, and similar information. While footprinting is not intended to be damaging (although certain activities, such as network scans, can sometimes cause disruptions to vulnerable applications inadvertently) it may often pave the way for more damaging attacks.
- Exploiting Trust in Client (aka Make the Client Invisible) An attack of this type exploits a programs' vulnerabilities in client/server communication channel authentication and data integrity. It leverages the implicit trust a server places in the client, or more importantly, that which the server believes is the client. An attacker executes this type of attack by placing themselves in the communication channel between client and server such that communication directly to the server is possible where the server believes it is communicating only with a valid client. There are numerous variations of this type of attack.
- Browser Fingerprinting An attacker carefully crafts small snippets of Java Script to efficiently detect the type of browser the potential victim is using. Many web-based attacks need prior knowledge of the web browser including the version of browser to ensure successful exploitation of a vulnerability. Having this knowledge allows an attacker to target the victim with attacks that specifically exploit known or zero day weaknesses in the type and version of the browser used by the victim. Automating this process via Java Script as a part of the same delivery system used to exploit the browser is considered more efficient as the attacker can supply a browser fingerprinting method and integrate it with exploit code, all contained in Java Script and in response to the same web page request by the browser.
- Session Credential Falsification through Prediction This attack targets predictable session ID in order to gain privileges. The attacker can predict the session ID used during a transaction to perform spoofing and session hijacking.
Nessus
NASL family SuSE Local Security Checks NASL id OPENSUSE-2017-6.NASL description This update provides version 3.0.5 of GNU Health including several fixes and improvements. - Update to ICD10 version 2016. - Fix error when printing prescription using review dates. - Fix error on summary report when no date of birth is assigned to the person. Additionally the following dependencies have been updated : tryton : - Update to 3.8.12. - Sanitize path in file open. (boo#1016886, CVE-2016-1242) - Prevent read of user password hash. (boo#1016885, CVE-2016-1241) trytond : - Update to 3.8.9. - Sanitize path in file open. (boo#1016886, CVE-2016-1242) - Prevent read of user password hash. (boo#1016885, CVE-2016-1241) trytond_account : - Update to 3.8.5. trytond_account_invoice : - Update to 3.8.4. trytond_stock : - Update to 3.8.4. trytond_stock_lot : - Update to 3.8.1. porteus : - Update to 3.8.5. last seen 2020-06-05 modified 2017-01-03 plugin id 96254 published 2017-01-03 reporter This script is Copyright (C) 2017-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/96254 title openSUSE Security Update : GNU Health and it's dependencies (openSUSE-2017-6) code #%NASL_MIN_LEVEL 80502 # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from openSUSE Security Update openSUSE-2017-6. # # The text description of this plugin is (C) SUSE LLC. # include("compat.inc"); if (description) { script_id(96254); script_version("3.2"); script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/04"); script_cve_id("CVE-2016-1241", "CVE-2016-1242"); script_name(english:"openSUSE Security Update : GNU Health and it's dependencies (openSUSE-2017-6)"); script_summary(english:"Check for the openSUSE-2017-6 patch"); script_set_attribute( attribute:"synopsis", value:"The remote openSUSE host is missing a security update." ); script_set_attribute( attribute:"description", value: "This update provides version 3.0.5 of GNU Health including several fixes and improvements. - Update to ICD10 version 2016. - Fix error when printing prescription using review dates. - Fix error on summary report when no date of birth is assigned to the person. Additionally the following dependencies have been updated : tryton : - Update to 3.8.12. - Sanitize path in file open. (boo#1016886, CVE-2016-1242) - Prevent read of user password hash. (boo#1016885, CVE-2016-1241) trytond : - Update to 3.8.9. - Sanitize path in file open. (boo#1016886, CVE-2016-1242) - Prevent read of user password hash. (boo#1016885, CVE-2016-1241) trytond_account : - Update to 3.8.5. trytond_account_invoice : - Update to 3.8.4. trytond_stock : - Update to 3.8.4. trytond_stock_lot : - Update to 3.8.1. porteus : - Update to 3.8.5." ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1016817" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1016885" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1016886" ); script_set_attribute( attribute:"solution", value:"Update the affected GNU Health and it's dependencies packages." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:P/I:N/A:N"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:gnuhealth"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:proteus"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:tryton"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:trytond"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:trytond_account"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:trytond_account_invoice"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:trytond_stock"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:trytond_stock_lot"); script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:42.2"); script_set_attribute(attribute:"patch_publication_date", value:"2017/01/02"); script_set_attribute(attribute:"plugin_publication_date", value:"2017/01/03"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2017-2020 Tenable Network Security, Inc."); script_family(english:"SuSE Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/SuSE/release", "Host/SuSE/rpm-list"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/SuSE/release"); if (isnull(release) || release =~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "openSUSE"); if (release !~ "^(SUSE42\.2)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "42.2", release); if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); flag = 0; if ( rpm_check(release:"SUSE42.2", reference:"gnuhealth-3.0.5-3.1") ) flag++; if ( rpm_check(release:"SUSE42.2", reference:"proteus-3.8.5-3.1") ) flag++; if ( rpm_check(release:"SUSE42.2", reference:"tryton-3.8.12-3.1") ) flag++; if ( rpm_check(release:"SUSE42.2", reference:"trytond-3.8.9-4.1") ) flag++; if ( rpm_check(release:"SUSE42.2", reference:"trytond_account-3.8.5-3.1") ) flag++; if ( rpm_check(release:"SUSE42.2", reference:"trytond_account_invoice-3.8.4-3.1") ) flag++; if ( rpm_check(release:"SUSE42.2", reference:"trytond_stock-3.8.4-3.1") ) flag++; if ( rpm_check(release:"SUSE42.2", reference:"trytond_stock_lot-3.8.1-3.1") ) flag++; if (flag) { if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get()); else security_warning(0); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "gnuhealth / trytond_account / trytond_account_invoice / etc"); }
NASL family Fedora Local Security Checks NASL id FEDORA_2016-D961441913.NASL description - security fix for CVE-2016-1241, CVE-2016-1242 - other bug fixes Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-05 modified 2016-11-15 plugin id 94868 published 2016-11-15 reporter This script is Copyright (C) 2016-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/94868 title Fedora 25 : python-proteus / tryton / trytond / trytond-account / etc (2016-d961441913) code #%NASL_MIN_LEVEL 80502 # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Fedora Security Advisory FEDORA-2016-d961441913. # include("compat.inc"); if (description) { script_id(94868); script_version("2.3"); script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/04"); script_cve_id("CVE-2016-1241", "CVE-2016-1242"); script_xref(name:"FEDORA", value:"2016-d961441913"); script_name(english:"Fedora 25 : python-proteus / tryton / trytond / trytond-account / etc (2016-d961441913)"); script_summary(english:"Checks rpm output for the updated packages."); script_set_attribute( attribute:"synopsis", value:"The remote Fedora host is missing one or more security updates." ); script_set_attribute( attribute:"description", value: " - security fix for CVE-2016-1241, CVE-2016-1242 - other bug fixes Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues." ); script_set_attribute( attribute:"see_also", value:"https://bodhi.fedoraproject.org/updates/FEDORA-2016-d961441913" ); script_set_attribute(attribute:"solution", value:"Update the affected packages."); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:P/I:N/A:N"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:python-proteus"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:tryton"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:trytond"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:trytond-account"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:trytond-account-invoice"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:trytond-account-product"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:trytond-account-statement"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:trytond-company"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:trytond-google-maps"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:trytond-party"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:trytond-purchase"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:trytond-sale"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:trytond-stock"); script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:25"); script_set_attribute(attribute:"vuln_publication_date", value:"2016/09/07"); script_set_attribute(attribute:"patch_publication_date", value:"2016/09/13"); script_set_attribute(attribute:"plugin_publication_date", value:"2016/11/15"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2016-2020 and is owned by Tenable, Inc. or an Affiliate thereof."); script_family(english:"Fedora Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/RedHat/release"); if (isnull(release) || "Fedora" >!< release) audit(AUDIT_OS_NOT, "Fedora"); os_ver = pregmatch(pattern: "Fedora.*release ([0-9]+)", string:release); if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora"); os_ver = os_ver[1]; if (! preg(pattern:"^25([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 25", "Fedora " + os_ver); if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Fedora", cpu); flag = 0; if (rpm_check(release:"FC25", reference:"python-proteus-4.0.2-1.fc25")) flag++; if (rpm_check(release:"FC25", reference:"tryton-4.0.4-1.fc25")) flag++; if (rpm_check(release:"FC25", reference:"trytond-4.0.4-1.fc25")) flag++; if (rpm_check(release:"FC25", reference:"trytond-account-4.0.3-1.fc25")) flag++; if (rpm_check(release:"FC25", reference:"trytond-account-invoice-4.0.2-1.fc25")) flag++; if (rpm_check(release:"FC25", reference:"trytond-account-product-4.0.2-1.fc25")) flag++; if (rpm_check(release:"FC25", reference:"trytond-account-statement-4.0.2-1.fc25")) flag++; if (rpm_check(release:"FC25", reference:"trytond-company-4.0.3-1.fc25")) flag++; if (rpm_check(release:"FC25", reference:"trytond-google-maps-4.0.2-1.fc25")) flag++; if (rpm_check(release:"FC25", reference:"trytond-party-4.0.2-1.fc25")) flag++; if (rpm_check(release:"FC25", reference:"trytond-purchase-4.0.3-1.fc25")) flag++; if (rpm_check(release:"FC25", reference:"trytond-sale-4.0.3-1.fc25")) flag++; if (rpm_check(release:"FC25", reference:"trytond-stock-4.0.3-1.fc25")) flag++; if (flag) { security_report_v4( port : 0, severity : SECURITY_WARNING, extra : rpm_report_get() ); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "python-proteus / tryton / trytond / trytond-account / etc"); }
NASL family Debian Local Security Checks NASL id DEBIAN_DSA-3656.NASL description Two vulnerabilities have been discovered in the server for the Tryton application platform, which may result in information disclosure of password hashes or file contents. last seen 2020-06-01 modified 2020-06-02 plugin id 93237 published 2016-08-31 reporter This script is Copyright (C) 2016-2018 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/93237 title Debian DSA-3656-1 : tryton-server - security update code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Debian Security Advisory DSA-3656. The text # itself is copyright (C) Software in the Public Interest, Inc. # include("compat.inc"); if (description) { script_id(93237); script_version("2.7"); script_cvs_date("Date: 2018/11/10 11:49:38"); script_cve_id("CVE-2016-1241", "CVE-2016-1242"); script_xref(name:"DSA", value:"3656"); script_name(english:"Debian DSA-3656-1 : tryton-server - security update"); script_summary(english:"Checks dpkg output for the updated package"); script_set_attribute( attribute:"synopsis", value:"The remote Debian host is missing a security-related update." ); script_set_attribute( attribute:"description", value: "Two vulnerabilities have been discovered in the server for the Tryton application platform, which may result in information disclosure of password hashes or file contents." ); script_set_attribute( attribute:"see_also", value:"https://packages.debian.org/source/jessie/tryton-server" ); script_set_attribute( attribute:"see_also", value:"https://www.debian.org/security/2016/dsa-3656" ); script_set_attribute( attribute:"solution", value: "Upgrade the tryton-server packages. For the stable distribution (jessie), these problems have been fixed in version 3.4.0-3+deb8u2." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:P/I:N/A:N"); script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"); script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"exploit_available", value:"false"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:tryton-server"); script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:8.0"); script_set_attribute(attribute:"patch_publication_date", value:"2016/08/30"); script_set_attribute(attribute:"plugin_publication_date", value:"2016/08/31"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2016-2018 and is owned by Tenable, Inc. or an Affiliate thereof."); script_family(english:"Debian Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/Debian/release", "Host/Debian/dpkg-l"); exit(0); } include("audit.inc"); include("debian_package.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); if (!get_kb_item("Host/Debian/release")) audit(AUDIT_OS_NOT, "Debian"); if (!get_kb_item("Host/Debian/dpkg-l")) audit(AUDIT_PACKAGE_LIST_MISSING); flag = 0; if (deb_check(release:"8.0", prefix:"tryton-server", reference:"3.4.0-3+deb8u2")) flag++; if (deb_check(release:"8.0", prefix:"tryton-server-doc", reference:"3.4.0-3+deb8u2")) flag++; if (flag) { if (report_verbosity > 0) security_warning(port:0, extra:deb_report_get()); else security_warning(0); exit(0); } else audit(AUDIT_HOST_NOT, "affected");
References
- http://www.debian.org/security/2016/dsa-3656
- http://www.debian.org/security/2016/dsa-3656
- http://www.tryton.org/posts/security-release-for-issue5795-and-issue5808.html
- http://www.tryton.org/posts/security-release-for-issue5795-and-issue5808.html
- https://bugs.tryton.org/issue5795
- https://bugs.tryton.org/issue5795