| <?xml version="1.0" encoding="utf-8"?> |
| <!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd"> |
| |
| <glsa id="200703-20"> |
| <title>LSAT: Insecure temporary file creation</title> |
| <synopsis> |
| LSAT insecurely creates temporary files which can lead to symlink attacks |
| allowing a local user to overwrite arbitrary files. |
| </synopsis> |
| <product type="ebuild">lsat</product> |
| <announced>March 18, 2007</announced> |
| <revised>May 11, 2007: 02</revised> |
| <bug>159542</bug> |
| <access>local</access> |
| <affected> |
| <package name="app-admin/lsat" auto="yes" arch="*"> |
| <unaffected range="ge">0.9.5</unaffected> |
| <vulnerable range="lt">0.9.5</vulnerable> |
| </package> |
| </affected> |
| <background> |
| <p> |
| The Linux Security Auditing Tool (LSAT) is a post install security |
| auditor which checks many system configurations and local network |
| settings on the system for common security or configuration errors and |
| for packages that are not needed. |
| </p> |
| </background> |
| <description> |
| <p> |
| LSAT insecurely writes in /tmp with a predictable filename. |
| </p> |
| </description> |
| <impact type="low"> |
| <p> |
| A local attacker could create symbolic links in the temporary files |
| directory, pointing to a valid file somewhere on the filesystem. When |
| the LSAT script is executed, this would result in the file being |
| overwritten with the rights of the user running the software, which |
| could be the root user. |
| </p> |
| </impact> |
| <workaround> |
| <p> |
| There is no known workaround at this time. |
| </p> |
| </workaround> |
| <resolution> |
| <p> |
| All lsat users should upgrade to the latest version: |
| </p> |
| <code> |
| # emerge --sync |
| # emerge --ask --oneshot --verbose ">=app-admin/lsat-0.9.5"</code> |
| </resolution> |
| <references> |
| <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-1500">CVE-2007-1500</uri> |
| </references> |
| <metadata tag="requester" timestamp="Thu, 15 Mar 2007 22:15:51 +0000"> |
| falco |
| </metadata> |
| <metadata tag="submitter" timestamp="Fri, 16 Mar 2007 10:34:49 +0000"> |
| falco |
| </metadata> |
| <metadata tag="bugReady" timestamp="Fri, 16 Mar 2007 11:42:45 +0000"> |
| vorlon |
| </metadata> |
| </glsa> |