CVE-2019-10195
published 2019-11-27CVE-2019-10195: A flaw was found in IPA, all 4.6.x versions before 4.6.7, all 4.7.x versions before 4.7.4 and all 4.8.x versions before 4.8.3, in the way that FreeIPA's batch…
PriorityP337medium6.5CVSS 3.1
AVNACLPRLUINSUCHINAN
EPSS
1.41%
69.7th percentile
A flaw was found in IPA, all 4.6.x versions before 4.6.7, all 4.7.x versions before 4.7.4 and all 4.8.x versions before 4.8.3, in the way that FreeIPA's batch processing API logged operations. This included passing user passwords in clear text on FreeIPA masters. Batch processing of commands with passwords as arguments or options is not performed by default in FreeIPA but is possible by third-party components. An attacker having access to system logs on FreeIPA masters could use this flaw to produce log file content with passwords exposed.
Affected
18 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | freeipa | < freeipa 4.8.3-1 (bookworm) | freeipa 4.8.3-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| freeipa | freeipa | >= 0 < 4.8.3-1 | 4.8.3-1 |
| freeipa | freeipa | >= 0 < 4.8.3-1 | 4.8.3-1 |
| freeipa | freeipa | >= 0 < 4.8.3-1 | 4.8.3-1 |
| freeipa | freeipa | >= 4.6.0 < 4.6.7 | 4.6.7 |
| freeipa | freeipa | >= 4.6.0 < 4.6.7 | 4.6.7 |
| freeipa | freeipa | >= 4.7.0 < 4.7.4 | 4.7.4 |
| freeipa | freeipa | >= 4.7.0 < 4.7.4 | 4.7.4 |
| freeipa | freeipa | >= 4.8.0 < 4.8.3 | 4.8.3 |
| freeipa | freeipa | >= 4.8.0 < 4.8.3 | 4.8.3 |
| red_hat | ipa | — | — |
| red_hat | ipa | — | — |
| red_hat | ipa | — | — |
| red_hat | ipa | >= 4.6.0 < 4.6.7 | 4.6.7 |
| red_hat | ipa | >= 4.7.0 < 4.7.4 | 4.7.4 |
| red_hat | ipa | >= 4.8.0 < 4.8.3 | 4.8.3 |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
nvdv3.05.7MEDIUMCVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
nvdv2.04.0MEDIUMAV:N/AC:L/Au:S/C:P/I:N/A:N
osv6.5MEDIUM
vendor_debian6.5MEDIUM
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
FreeIPA logs passwords embedded in commands in calls using batch
ghsa·2022-05-24
CVE-2019-10195 [MEDIUM] CWE-200 FreeIPA logs passwords embedded in commands in calls using batch
FreeIPA logs passwords embedded in commands in calls using batch
A flaw was found in IPA, all 4.6.x versions before 4.6.7, all 4.7.x versions before 4.7.4 and all 4.8.x versions before 4.8.3, in the way that FreeIPA's batch processing API logged operations. This included passing user passwords in clear text on FreeIPA masters. Batch processing of commands with passwords as arguments or options is not performed by default in FreeIPA but is possible by third-party components. An attacker having access to system logs on FreeIPA masters could use this flaw to produce log file content with passwords exposed.
OSV
FreeIPA logs passwords embedded in commands in calls using batch
osv·2022-05-24
CVE-2019-10195 [MEDIUM] FreeIPA logs passwords embedded in commands in calls using batch
FreeIPA logs passwords embedded in commands in calls using batch
A flaw was found in IPA, all 4.6.x versions before 4.6.7, all 4.7.x versions before 4.7.4 and all 4.8.x versions before 4.8.3, in the way that FreeIPA's batch processing API logged operations. This included passing user passwords in clear text on FreeIPA masters. Batch processing of commands with passwords as arguments or options is not performed by default in FreeIPA but is possible by third-party components. An attacker having access to system logs on FreeIPA masters could use this flaw to produce log file content with passwords exposed.
OSV
CVE-2019-10195: A flaw was found in IPA, all 4
osv·2019-11-27·CVSS 6.5
CVE-2019-10195 [MEDIUM] CVE-2019-10195: A flaw was found in IPA, all 4
A flaw was found in IPA, all 4.6.x versions before 4.6.7, all 4.7.x versions before 4.7.4 and all 4.8.x versions before 4.8.3, in the way that FreeIPA's batch processing API logged operations. This included passing user passwords in clear text on FreeIPA masters. Batch processing of commands with passwords as arguments or options is not performed by default in FreeIPA but is possible by third-party components. An attacker having access to system logs on FreeIPA masters could use this flaw to produce log file content with passwords exposed.
Red Hat
ipa: Batch API logging user passwords to /var/log/httpd/error_log
vendor_redhat·2019-11-26·CVSS 6.5
CVE-2019-10195 [MEDIUM] CWE-538 ipa: Batch API logging user passwords to /var/log/httpd/error_log
ipa: Batch API logging user passwords to /var/log/httpd/error_log
A flaw was found in IPA, all 4.6.x versions before 4.6.7, all 4.7.x versions before 4.7.4 and all 4.8.x versions before 4.8.3, in the way that FreeIPA's batch processing API logged operations. This included passing user passwords in clear text on FreeIPA masters. Batch processing of commands with passwords as arguments or options is not performed by default in FreeIPA but is possible by third-party components. An attacker having access to system logs on FreeIPA masters could use this flaw to produce log file content with passwords exposed.
A flaw was found in the way that FreeIPA's batch processing API logged operations. This included passing user passwords in clear text on FreeIPA masters. Batch processing of commands wit
Debian
CVE-2019-10195: freeipa - A flaw was found in IPA, all 4.6.x versions before 4.6.7, all 4.7.x versions bef...
vendor_debian·2019·CVSS 6.5
CVE-2019-10195 [MEDIUM] CVE-2019-10195: freeipa - A flaw was found in IPA, all 4.6.x versions before 4.6.7, all 4.7.x versions bef...
A flaw was found in IPA, all 4.6.x versions before 4.6.7, all 4.7.x versions before 4.7.4 and all 4.8.x versions before 4.8.3, in the way that FreeIPA's batch processing API logged operations. This included passing user passwords in clear text on FreeIPA masters. Batch processing of commands with passwords as arguments or options is not performed by default in FreeIPA but is possible by third-party components. An attacker having access to system logs on FreeIPA masters could use this flaw to produce log file content with passwords exposed.
Scope: local
bookworm: resolved (fixed in 4.8.3-1)
forky: resolved (fixed in 4.8.3-1)
sid: resolved (fixed in 4.8.3-1)
trixie: resolved (fixed in 4.8.3-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-10195 freeipa: IPA: batch API logging user passwords to /var/log/httpd/error_log [fedora-all]
bugzilla·2019-11-27·CVSS 6.5
CVE-2019-10195 [MEDIUM] CVE-2019-10195 freeipa: IPA: batch API logging user passwords to /var/log/httpd/error_log [fedora-all]
CVE-2019-10195 freeipa: IPA: batch API logging user passwords to /var/log/httpd/error_log [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects mu
Bugzilla
CVE-2019-10195 ipa: Batch API logging user passwords to /var/log/httpd/error_log
bugzilla·2019-07-02·CVSS 6.5
CVE-2019-10195 [MEDIUM] CVE-2019-10195 ipa: Batch API logging user passwords to /var/log/httpd/error_log
CVE-2019-10195 ipa: Batch API logging user passwords to /var/log/httpd/error_log
FreeIPA's batch API logs user passwords to /var/log/httpd/error_log. When the actual command is processed, the passwords get masked out, however when the batch command is logged it logs all parameters of the sub-commands including the sensitive ones.
Discussion:
Created attachment 1587101
Candidate patch
---
Patch tested successfully. I also ran the ipatests/test_xmlrpc/test_batch_plugin.py tests without any issue.
Example of output in /var/log/httpd/error_log when running in batch "ipa group_find" and "ipa passwd test SecretPwd":
ipa: DEBUG: raw: batch(group_find(None), passwd('test', '********', None))
ipa: DEBUG: batch(group_find(None), passwd('test', '********', None))
ipa: DEBUG: raw: group_find(No
https://access.redhat.com/errata/RHBA-2019:4268https://access.redhat.com/errata/RHSA-2020:0378https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10195https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/67SEUWJAJ5RMH5K4Q6TS2I7HIMXUGNKF/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WLFL5XDCJ3WT6JCLCQVKHZBLHGW7PW4T/https://www.freeipa.org/page/Releases/4.6.7https://www.freeipa.org/page/Releases/4.7.4https://www.freeipa.org/page/Releases/4.8.3https://access.redhat.com/errata/RHBA-2019:4268https://access.redhat.com/errata/RHSA-2020:0378https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10195https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/67SEUWJAJ5RMH5K4Q6TS2I7HIMXUGNKF/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WLFL5XDCJ3WT6JCLCQVKHZBLHGW7PW4T/https://www.freeipa.org/page/Releases/4.6.7https://www.freeipa.org/page/Releases/4.7.4https://www.freeipa.org/page/Releases/4.8.3
2019-11-27
Published