summaryrefslogtreecommitdiff
blob: 3bf90b8df14114832fb079008388219a150fc39b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200712-05">
  <title>PEAR::MDB2: Information disclosure</title>
  <synopsis>
    A vulnerability when handling database input in PEAR::MDB2 allows remote
    attackers to obtain sensitive information.
  </synopsis>
  <product type="ebuild">PEAR-MDB2</product>
  <announced>2007-12-09</announced>
  <revised count="01">2007-12-09</revised>
  <bug>198446</bug>
  <access>remote</access>
  <affected>
    <package name="dev-php/PEAR-MDB2" auto="yes" arch="*">
      <unaffected range="ge">2.5.0_alpha1</unaffected>
      <vulnerable range="lt">2.5.0_alpha1</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    PEAR::MDB2 is a database abstraction layer for PHP aimed to provide a
    common API for all supported relational database management systems. A
    LOB ("large object") is a database field holding binary data.
    </p>
  </background>
  <description>
    <p>
    priyadi discovered that the request to store a URL string as a LOB is
    treated as a request to retrieve and store the contents of the URL.
    </p>
  </description>
  <impact type="normal">
    <p>
    If an application using PEAR::MDB2 allows input of LOB values via a web
    form, remote attackers could use the application as an indirect proxy
    or obtain sensitive information, including "file://" URLs local to the
    web server.
    </p>
  </impact>
  <workaround>
    <p>
    As a workaround, manually filter input before storing it as a LOB in
    PEAR::MDB2.
    </p>
  </workaround>
  <resolution>
    <p>
    All PEAR::MDB2 users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=dev-php/PEAR-MDB2-2.5.0_alpha1"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5934">CVE-2007-5934</uri>
  </references>
  <metadata tag="requester" timestamp="2007-12-02T12:32:27Z">
    rbu
  </metadata>
  <metadata tag="submitter" timestamp="2007-12-05T01:58:28Z">
    rbu
  </metadata>
  <metadata tag="bugReady" timestamp="2007-12-05T01:59:26Z">
    rbu
  </metadata>
</glsa>