{"id":"CVE-2015-2704","aliases":["AZL-36985","AZL-7338","DEBIAN-CVE-2015-2704","EUVD-2015-2794","GHSA-5vx5-x2xx-23pj","RHSA-2015:2184","UBUNTU-CVE-2015-2704"],"status":"published","title":"realmd allows remote attackers to inject arbitrary configurations in to sssd.conf and smb.conf...","description":"realmd allows remote attackers to inject arbitrary configurations in to sssd.conf and smb.conf via a newline character in an LDAP response.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02536,"percentile":0.85049,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-74"],"published":"2015-05-18T15:00:00Z","modified":"2026-11-05T05:36:30Z","fixes":[{"ecosystem":"Debian:12","package":"realmd","fixed_in":["0.16.0-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"realmd","fixed_in":["0.16.0-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"realmd","fixed_in":["0.16.0-1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::client","package":"realmd-debuginfo","fixed_in":["0:0.16.1-5.el7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::client","package":"realmd-devel-docs","fixed_in":["0:0.16.1-5.el7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::client","package":"realmd","fixed_in":["0:0.16.1-5.el7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"realmd-debuginfo","fixed_in":["0:0.16.1-5.el7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"realmd-devel-docs","fixed_in":["0:0.16.1-5.el7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"realmd","fixed_in":["0:0.16.1-5.el7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::server","package":"realmd-debuginfo","fixed_in":["0:0.16.1-5.el7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::server","package":"realmd-devel-docs","fixed_in":["0:0.16.1-5.el7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::server","package":"realmd","fixed_in":["0:0.16.1-5.el7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"realmd-debuginfo","fixed_in":["0:0.16.1-5.el7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"realmd-devel-docs","fixed_in":["0:0.16.1-5.el7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"realmd","fixed_in":["0:0.16.1-5.el7"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"realmd","fixed_in":["0.15.0-1ubuntu0.1+esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Azure Linux:3","package":"realmd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.17.1-1"}]}]},{"source":"osv","ecosystem":"Azure Linux:2","package":"realmd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.16.3-25"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"realmd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.16.0-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"realmd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.16.0-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"realmd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.16.0-1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"realmd-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.16.1-5.el7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"realmd-devel-docs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.16.1-5.el7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"realmd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.16.1-5.el7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"realmd-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.16.1-5.el7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"realmd-devel-docs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.16.1-5.el7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"realmd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.16.1-5.el7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"realmd-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.16.1-5.el7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"realmd-devel-docs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.16.1-5.el7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"realmd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.16.1-5.el7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"realmd-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.16.1-5.el7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"realmd-devel-docs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.16.1-5.el7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"realmd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.16.1-5.el7"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"realmd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.15.0-1ubuntu0.1+esm1"}]}],"versions":["0.14.6-1","0.14.6-2","0.15.0-1","0.15.0-1ubuntu0.1"]}],"products":[{"vendor":"realmd_project","product":"realmd"}],"references":[{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-April/155862.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-May/157358.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/73352","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://bugs.freedesktop.org/show_bug.cgi?id=89207","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-2704","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-5vx5-x2xx-23pj"},{"url":"https://security-tracker.debian.org/tracker/CVE-2015-2704","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2015:2184","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1142191","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1174911","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1205751","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1205752","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1241832","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1243771","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1271618","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2015/rhsa-2015_2184.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2015-2704","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-2704","tags":["advisory","report"]},{"url":"https://ubuntu.com/security/CVE-2015-2704","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2015-2704","description":"realmd allows remote attackers to inject arbitrary configurations in to sssd.conf and smb.conf via a newline character in an LDAP response.","status":"published","published":"2015-05-18T15:00:00Z","modified":"2024-08-06T05:24:38.085Z","updated_at":"2026-11-02T14:35:41.621934Z"}],"euvd":[{"id":"EUVD-2015-2794","description":"realmd allows remote attackers to inject arbitrary configurations in to sssd.conf and smb.conf via a newline character in an LDAP response.","status":"published","published":"2015-05-18T15:00:00Z","modified":"2024-08-06T05:24:38Z","updated_at":"2026-11-03T02:22:11.095833Z"}],"ghsa":[{"id":"GHSA-5vx5-x2xx-23pj","title":"realmd allows remote attackers to inject arbitrary configurations in to sssd.conf and smb.conf...","description":"realmd allows remote attackers to inject arbitrary configurations in to sssd.conf and smb.conf via a newline character in an LDAP response.","status":"published","published":"2022-05-17T03:33:52Z","modified":"2023-01-27T05:08:11Z","cwes":["CWE-74"],"updated_at":"2026-11-02T14:43:15.619167Z"}],"nvd":[{"id":"CVE-2015-2704","description":"realmd allows remote attackers to inject arbitrary configurations in to sssd.conf and smb.conf via a newline character in an LDAP response.","status":"published","published":"2015-05-18T15:59:08.777Z","modified":"2026-06-17T00:24:35.117Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:03:04.906059Z"}],"osv":[{"id":"AZL-36985","title":"CVE-2015-2704 affecting package realmd 0.17.1-1","description":"realmd allows remote attackers to inject arbitrary configurations in to sssd.conf and smb.conf via a newline character in an LDAP response.","status":"published","published":"2015-05-18T15:59:08Z","modified":"2026-11-05T05:36:30Z","updated_at":"2026-11-05T16:41:19.554273Z"},{"id":"AZL-7338","title":"CVE-2015-2704 affecting package realmd 0.16.3-25","description":"realmd allows remote attackers to inject arbitrary configurations in to sssd.conf and smb.conf via a newline character in an LDAP response.","status":"published","published":"2015-05-18T15:59:08Z","modified":"2026-04-21T04:33:52.676406Z","updated_at":"2026-11-02T15:28:09.201912Z"},{"id":"CVE-2015-2704","description":"realmd allows remote attackers to inject arbitrary configurations in to sssd.conf and smb.conf via a newline character in an LDAP response.","status":"published","published":"2015-05-18T15:59:08Z","modified":"2026-04-10T03:46:14.4186Z","updated_at":"2026-11-02T15:44:00.594921Z"},{"id":"DEBIAN-CVE-2015-2704","description":"realmd allows remote attackers to inject arbitrary configurations in to sssd.conf and smb.conf via a newline character in an LDAP response.","status":"published","published":"2015-05-18T15:59:08.777Z","modified":"2026-09-09T06:47:27.389190448Z","updated_at":"2026-11-02T15:45:26.752992Z"},{"id":"RHSA-2015:2184","title":"Red Hat Security Advisory: realmd security, bug fix, and enhancement update","status":"published","published":"2024-09-15T22:31:32Z","modified":"2026-06-26T12:21:49.970147971Z","updated_at":"2026-11-02T15:53:03.182161Z"},{"id":"UBUNTU-CVE-2015-2704","description":"realmd allows remote attackers to inject arbitrary configurations in to sssd.conf and smb.conf via a newline character in an LDAP response.","status":"published","published":"2015-05-18T15:59:00Z","modified":"2025-09-08T16:43:21Z","updated_at":"2026-11-02T15:54:10.045446Z"}]}}
