{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 4.4, "accessVector": "LOCAL", "vectorString": "AV:L/AC:M/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "MEDIUM", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"MODERATE\"}"}}}], "affected": [{"vendor": "oraclelinux", "product": "setroubleshoot", "versions": [{"status": "affected", "version": "0", "lessThan": "0:2.0.5-3.0.1.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "setroubleshoot-plugins", "versions": [{"status": "affected", "version": "0", "lessThan": "0:2.0.4-2.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "setroubleshoot-server", "versions": [{"status": "affected", "version": "0", "lessThan": "0:2.0.5-3.0.1.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}], "references": [{"url": "https://linux.oracle.com/cve/CVE-2007-5495.html"}], "descriptions": [{"lang": "en", "value": "sealert in setroubleshoot 2.0.5 allows local users to overwrite arbitrary files via a symlink attack on the sealert.log temporary file."}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000006", "shortName": "oraclelinux", "dateUpdated": "2008-05-30T00:00:00Z", "x_subShortName": "oraclelinux"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Moderate\"}"}}}], "affected": [{"vendor": "redhat", "product": "setroubleshoot", "versions": [{"status": "affected", "version": "0", "lessThan": "0:2.0.5-3.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "setroubleshoot-plugins", "versions": [{"status": "affected", "version": "0", "lessThan": "0:2.0.4-2.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "setroubleshoot-server", "versions": [{"status": "affected", "version": "0", "lessThan": "0:2.0.5-3.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2008:0061"}, {"url": "https://access.redhat.com/security/cve/CVE-2007-5495"}], "descriptions": [{"lang": "en", "value": "The setroubleshoot packages provide tools to help diagnose SELinux\nproblems. When AVC messages occur, an alert is generated that gives\ninformation about the problem, and how to create a resolution.\n\nA flaw was found in the way sealert wrote diagnostic messages to a\ntemporary file. A local unprivileged user could perform a symbolic link\nattack, and cause arbitrary files, writable by other users, to be\noverwritten when a victim runs sealert. (CVE-2007-5495)\n\nA flaw was found in the way sealert displayed records from the\nsetroubleshoot database as unescaped HTML. An local unprivileged attacker\ncould cause AVC denial events with carefully crafted process or file names,\ninjecting arbitrary HTML tags into the logs, which could be used as a\nscripting attack, or to confuse the user running sealert. (CVE-2007-5496)\n\nAdditionally, the following bugs have been fixed in these update packages:\n\n* in certain situations, the sealert process used excessive CPU. These\nalerts are now capped at a maximum of 30, D-Bus is used instead of polling,\nthreads causing excessive wake-up have been removed, and more robust\nexception-handling has been added.\n\n* different combinations of the sealert '-a', '-l', '-H', and '-v' options\ndid not work as documented.\n\n* the SETroubleShoot browser did not allow multiple entries to be deleted. \n\n* the SETroubleShoot browser did not display statements that displayed\nwhether SELinux was using Enforcing or Permissive mode, particularly when\nwarning about SELinux preventions.\n\n* in certain cases, the SETroubleShoot browser gave incorrect instructions\nregarding paths, and would not display the full paths to files.\n\n* adding an email recipient to the recipients option from the\n/etc/setroubleshoot/setroubleshoot.cfg file and then generating an SELinux\ndenial caused a traceback error. The recipients option has been removed;\nemail addresses are now managed through the SETroubleShoot browser by\nnavigating to File -> Edit Email Alert List, or by editing the\n/var/lib/setroubleshoot/email_alert_recipients file.\n\n* the setroubleshoot browser incorrectly displayed a period between the\nhttpd_sys_content_t context and the directory path.\n\n* on the PowerPC architecture, The get_credentials() function in\naccess_control.py would generate an exception when it called the\nsocket.getsockopt() function.\n\n* The code which handles path information has been completely rewritten so\nthat assumptions on path information which were misleading are no longer\nmade. If the path information is not present, it will be presented as\n\"<Unknown>\".\n\n* setroubleshoot had problems with non-English locales under certain\ncircumstances, possibly causing a python traceback, an sealert window\npop-up containing an error, a \"RuntimeError: maximum recursion depth\nexceeded\" error after a traceback, or a \"UnicodeEncodeError\" after a traceback.\n\n* sealert ran even when SELinux was disabled, causing \"attempt to open\nserver connection failed\" errors. Sealert now checks whether SELinux is\nenabled or disabled.\n\n* the database setroubleshoot maintains was world-readable. The\nsetroubleshoot database is now mode 600, and is owned by the root user and\ngroup.\n\n* setroubleshoot did not validate requests to set AVC filtering options for\nusers. In these updated packages, checks ensure that requests originate\nfrom the filter owner.\n\n* the previous setroubleshoot packages required a number of GNOME packages\nand libraries. setroubleshoot has therefore been split into 2 packages:\nsetroubleshoot and setroubleshoot-server.\n\n* a bug in decoding the audit field caused an \"Input is not proper UTF-8,\nindicate encoding!\" error message. The decoding code has been rewritten.\n\n* a file name mismatch in the setroubleshoot init script would cause a\nfailure to shut down.\n\nUsers of setroubleshoot are advised to upgrade to these updated packages,\nwhich resolve these issues."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2008-05-21T00:00:00Z", "x_subShortName": "redhat_5"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 4.4, "accessVector": "LOCAL", "vectorString": "AV:L/AC:M/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "MEDIUM", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}], "affected": [{"cpes": ["cpe:2.3:a:selinux:setroubleshoot:2.0.5:*:*:*:*:*:*:*"], "vendor": "selinux", "product": "setroubleshoot", "versions": [{"status": "affected", "version": "2.0.5"}], "platforms": ["cpe:2.3:o:redhat:enterprise_linux:5.0:*:server:*:*:*:*:*", "cpe:2.3:o:redhat:enterprise_linux_desktop:5:*:client:*:*:*:*:*"], "defaultStatus": "unaffected"}], "references": [{"url": "http://www.redhat.com/support/errata/RHSA-2008-0061.html", "tags": ["patch"]}, {"url": "http://secunia.com/advisories/30339"}, {"url": "http://securitytracker.com/id?1020077"}, {"url": "http://www.securityfocus.com/bid/29320"}, {"url": "https://bugzilla.redhat.com/show_bug.cgi?id=288221"}, {"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/42591"}, {"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9705"}], "descriptions": [{"lang": "en", "value": "sealert in setroubleshoot 2.0.5 allows local users to overwrite arbitrary files via a symlink attack on the sealert.log temporary file."}, {"lang": "es", "value": "Vulnerabilidad en sealert in setroubleshoot 2.0.5, permite a los usuarios locales sobrescribir ficheros arbitrarios a través de un ataque mediate enlace simbólico en el fichero temporal sealert.log \r\n"}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-59", "description": "CWE-59"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2008-05-23T15:32:00Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2007-5495", "state": "PUBLISHED", "dateUpdated": "2025-04-09T00:30:58Z", "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "datePublished": "2008-05-23T15:32:00Z", "assignerShortName": "redhat"}, "dataVersion": "5.0"}