summaryrefslogtreecommitdiff
blob: 006067429d25b104960cc79b3924b80793abff90 (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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200503-04">
  <title>phpWebSite: Arbitrary PHP execution and path disclosure</title>
  <synopsis>
    Remote attackers can upload and execute arbitrary PHP scripts, another flaw
    reveals the full path of scripts.
  </synopsis>
  <product type="ebuild">phpwebsite</product>
  <announced>2005-03-01</announced>
  <revised count="02">2006-05-22</revised>
  <bug>83297</bug>
  <access>remote</access>
  <affected>
    <package name="www-apps/phpwebsite" auto="yes" arch="*">
      <unaffected range="ge">0.10.0-r2</unaffected>
      <vulnerable range="lt">0.10.0-r2</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    phpWebSite provides a complete web site content management system.
    </p>
  </background>
  <description>
    <p>
    NST discovered that, when submitting an announcement, uploaded files
    aren't correctly checked for malicious code. They also found out that
    phpWebSite is vulnerable to a path disclosure.
    </p>
  </description>
  <impact type="high">
    <p>
    A remote attacker can exploit this issue to upload files to a directory
    within the web root. By calling the uploaded script the attacker could
    then execute arbitrary PHP code with the rights of the web server. By
    passing specially crafted requests to the search module, remote
    attackers can also find out the full path of PHP scripts.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All phpWebSite users should upgrade to the latest available version:
    </p>
    <code>
    # emerge --sync 
    # emerge --ask --oneshot --verbose "&gt;=www-apps/phpwebsite-0.10.0-r2"</code>
  </resolution>
  <references>
    <uri link="https://secunia.com/advisories/14399/">Secunia Advisory SA14399</uri>
    <uri link="http://phpwebsite.appstate.edu/index.php?module=announce&amp;ANN_id=922&amp;ANN_user_op=view">phpWebSite announcement</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0565">CVE-2005-0565</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0572">CVE-2005-0572</uri>
  </references>
  <metadata tag="requester" timestamp="2005-02-25T21:23:09Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2005-02-27T12:09:41Z">
    DerCorny
  </metadata>
</glsa>