<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200903-20">
  <title>WebSVN: Multiple vulnerabilities</title>
  <synopsis>
    Multiple vulnerabilities in WebSVN allow for file overwrite and information
    disclosure.
  </synopsis>
  <product type="ebuild">websvn</product>
  <announced>2009-03-09</announced>
  <revised count="01">2009-03-09</revised>
  <bug>243852</bug>
  <access>remote</access>
  <affected>
    <package name="www-apps/websvn" auto="yes" arch="*">
      <unaffected range="ge">2.1.0</unaffected>
      <vulnerable range="lt">2.1.0</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    WebSVN is a web-based browsing tool for Subversion repositories written
    in PHP.
    </p>
  </background>
  <description>
    <ul>
    <li>
    James Bercegay of GulfTech Security reported a Cross-site scripting
    (XSS) vulnerability in the getParameterisedSelfUrl() function in
    index.php (CVE-2008-5918) and a directory traversal vulnerability in
    rss.php when magic_quotes_gpc is disabled (CVE-2008-5919).
    </li>
    <li>
    Bas van Schaik reported that listing.php does not properly enforce
    access restrictions when using an SVN authz file to authenticate users
    (CVE-2009-0240).
    </li>
    </ul> <p>
    </p>
  </description>
  <impact type="normal">
    <p>
    A remote attacker can exploit these vulnerabilities to overwrite
    arbitrary files, to read changelogs or diffs for restricted projects
    and to hijack a user's session.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All WebSVN users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=www-apps/websvn-2.1.0"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5918">CVE-2008-5918</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5919">CVE-2008-5919</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0240">CVE-2009-0240</uri>
  </references>
  <metadata tag="requester" timestamp="2009-01-24T11:43:28Z">
    rbu
  </metadata>
  <metadata tag="submitter" timestamp="2009-02-12T17:56:35Z">
    rbu
  </metadata>
  <metadata tag="bugReady" timestamp="2009-02-12T17:56:41Z">
    rbu
  </metadata>
</glsa>
