{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"not yet assigned\"}"}}}], "affected": [{"vendor": "debian", "product": "realmd", "versions": [{"status": "affected", "version": "0", "lessThan": "0.16.0-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}], "references": [{"url": "https://security-tracker.debian.org/tracker/CVE-2015-2704"}], "descriptions": [{"lang": "en", "value": "realmd allows remote attackers to inject arbitrary configurations in to sssd.conf and smb.conf via a newline character in an LDAP response."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2015-05-18T15:00:00.000Z", "x_subShortName": "debian"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"unspecified\"}"}}}], "affected": [{"vendor": "fedora", "product": "realmd", "versions": [{"status": "affected", "version": "0", "lessThan": "0.15.2-2.fc21", "versionType": "rpm"}], "platforms": ["cpe:/o:fedoraproject:fedora:21"], "defaultStatus": "unaffected"}, {"vendor": "fedora", "product": "realmd", "versions": [{"status": "affected", "version": "0", "lessThan": "0.16.0-1.fc22", "versionType": "rpm"}], "platforms": ["cpe:/o:fedoraproject:fedora:22"], "defaultStatus": "unaffected"}], "references": [{"url": "https://bodhi.fedoraproject.org/updates/FEDORA-2015-6124"}, {"url": "https://bodhi.fedoraproject.org/updates/FEDORA-2015-6387"}], "descriptions": [{"lang": "en", "value": "realmd: untrusted data is used when configuring sssd.conf and/or smb.conf"}], "providerMetadata": {"orgId": "92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5", "shortName": "fedora", "dateUpdated": "2015-04-22T22:55:30Z", "x_subShortName": "fedora"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 4.3, "accessVector": "ADJACENT_NETWORK", "vectorString": "AV:A/AC:H/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "HIGH", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"MODERATE\"}"}}}], "affected": [{"vendor": "oraclelinux", "product": "realmd", "versions": [{"status": "affected", "version": "0", "lessThan": "0:0.16.1-5.el7", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:7"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "realmd-devel-docs", "versions": [{"status": "affected", "version": "0", "lessThan": "0:0.16.1-5.el7", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:7"], "defaultStatus": "unaffected"}], "references": [{"url": "https://linux.oracle.com/cve/CVE-2015-2704.html"}], "descriptions": [{"lang": "en", "value": "realmd allows remote attackers to inject arbitrary configurations into sssd.conf and smb.conf via a newline character in an LDAP response."}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000006", "shortName": "oraclelinux", "dateUpdated": "2015-11-24T00:00:00Z", "x_subShortName": "oraclelinux"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 4.3, "accessVector": "ADJACENT_NETWORK", "vectorString": "AV:A/AC:H/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "HIGH", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Moderate\"}"}}}], "affected": [{"vendor": "redhat", "product": "realmd", "versions": [{"status": "affected", "version": "0", "lessThan": "0:0.16.1-5.el7", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:7"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "realmd-devel-docs", "versions": [{"status": "affected", "version": "0", "lessThan": "0:0.16.1-5.el7", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:7"], "defaultStatus": "unaffected"}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2015:2184"}, {"url": "https://access.redhat.com/security/cve/CVE-2015-2704"}], "descriptions": [{"lang": "en", "value": "The realmd DBus system service manages discovery of and enrollment in\nrealms and domains, such as Active Directory or Identity Management (IdM).\nThe realmd service detects available domains, automatically configures the\nsystem, and joins it as an account to a domain.\n\nA flaw was found in the way realmd parsed certain input when writing\nconfiguration into the sssd.conf or smb.conf file. A remote attacker could\nuse this flaw to inject arbitrary configurations into these files via a\nnewline character in an LDAP response. (CVE-2015-2704)\n\nIt was found that the realm client would try to automatically join an\nactive directory domain without authentication, which could potentially\nlead to privilege escalation within a specified domain. (BZ#1205751)\n\nThe realmd packages have been upgraded to upstream version 0.16.1, which\nprovides a number of bug fixes and enhancements over the previous version.\n(BZ#1174911)\n\nThis update also fixes the following bugs:\n\n* Joining a Red Hat Enterprise Linux machine to a domain using the realm\nutility creates /home/domainname/[username]/ directories for domain users.\nPreviously, SELinux labeled the domain users' directories incorrectly. As a\nconsequence, the domain users sometimes experienced problems with SELinux\npolicy. This update modifies the realmd service default behavior so that\nthe domain users' directories are compatible with the standard SELinux\npolicy. (BZ#1241832)\n\n* Previously, the realm utility was unable to join or discover domains with\ndomain names containing underscore (_). The realmd service has been\nmodified to process underscores in domain names correctly, which fixes the\ndescribed bug. (BZ#1243771)\n\nIn addition, this update adds the following enhancement:\n\n* The realmd utility now allows the user to disable automatic ID mapping\nfrom the command line. To disable the mapping, pass the\n\"--automatic-id-mapping=no\" option to the realmd utility. (BZ#1230941)\n\nAll realmd users are advised to upgrade to these updated packages, which\ncorrect these issues and add these enhancements."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2015-02-18T00:00:00Z", "x_subShortName": "redhat_7"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"medium\"}"}}}], "affected": [{"vendor": "canonical", "product": "realmd", "versions": [{"status": "affected", "version": "0", "lessThan": "0.15.0-1ubuntu0.1+esm1", "versionType": "custom"}], "platforms": ["trusty"], "defaultStatus": "unaffected"}, {"vendor": "unknown", "product": "unknown", "defaultStatus": "unknown"}], "references": [{"url": "https://ubuntu.com/security/CVE-2015-2704"}, {"url": "https://www.cve.org/CVERecord?id=CVE-2015-2704"}], "descriptions": [{"lang": "en", "value": "not defined"}, {"lang": "en", "value": "realmd allows remote attackers to inject arbitrary configurations in to sssd.conf and smb.conf via a newline character in an LDAP response."}], "providerMetadata": {"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc", "shortName": "canonical", "dateUpdated": "2000-01-01T00:00:00Z", "x_subShortName": "canonical"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 4.3, "accessVector": "ADJACENT_NETWORK", "vectorString": "AV:A/AC:H/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "HIGH", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}], "affected": [{"vendor": "amazon", "product": "realmd", "versions": [{"status": "affected", "version": "0", "lessThan": "0.16.1-5.5.amzn1", "versionType": "rpm"}], "defaultStatus": "unaffected"}, {"vendor": "amazon", "product": "realmd-debuginfo", "versions": [{"status": "affected", "version": "0", "lessThan": "0.16.1-5.5.amzn1", "versionType": "rpm"}], "defaultStatus": "unaffected"}, {"vendor": "amazon", "product": "realmd-devel-docs", "versions": [{"status": "affected", "version": "0", "lessThan": "0.16.1-5.5.amzn1", "versionType": "rpm"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-2704"}], "descriptions": [{"lang": "en", "value": "A flaw was found in the way realmd parsed certain input when writing configuration into the sssd.conf or smb.conf file. A remote attacker could use this flaw to inject arbitrary configurations into these files via a newline character in an LDAP response."}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000000", "shortName": "alas", "dateUpdated": "2016-01-18T11:00:00Z", "x_subShortName": "alas_1"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 5, "accessVector": "NETWORK", "vectorString": "AV:N/AC:L/Au:N/C:N/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "LOW", "availabilityImpact": "NONE", "confidentialityImpact": "NONE"}}], "affected": [{"cpes": ["cpe:2.3:a:realmd_project:realmd:*:*:*:*:*:*:*:*"], "vendor": "realmd_project", "product": "realmd", "versions": [{"status": "affected", "version": "0", "versionType": "custom", "lessThanOrEqual": "15.2"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://bugs.freedesktop.org/show_bug.cgi?id=89207", "tags": ["vendor-advisory"]}, {"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-April/155862.html"}, {"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-May/157358.html"}, {"url": "http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html"}, {"url": "http://www.securityfocus.com/bid/73352"}], "descriptions": [{"lang": "en", "value": "realmd allows remote attackers to inject arbitrary configurations in to sssd.conf and smb.conf via a newline character in an LDAP response."}, {"lang": "es", "value": "realmd permite a atacantes remotos inyectar configuraciones arbitrarias en sssd.conf y smb.conf a través de un caracter de nueva línea en una respuesta LDAP."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-74", "description": "CWE-74"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2015-05-18T15:59:08Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2015-2704", "state": "PUBLISHED", "dateUpdated": "2025-04-12T10:46:40Z", "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "datePublished": "2015-05-18T15:59:08Z", "assignerShortName": "mitre"}, "dataVersion": "5.0"}