1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 201111-04 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
http://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: Normal |
8 |
Title: phpDocumentor: Function call injection |
9 |
Date: November 11, 2011 |
10 |
Bugs: #213318 |
11 |
ID: 201111-04 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
phpDocumentor bundles Smarty which contains an input sanitation flaw, |
19 |
allowing attackers to call arbitrary PHP functions. |
20 |
|
21 |
Background |
22 |
========== |
23 |
|
24 |
The phpDocumentor package provides automatic documenting of PHP API |
25 |
directly from the source. |
26 |
|
27 |
Affected packages |
28 |
================= |
29 |
|
30 |
------------------------------------------------------------------- |
31 |
Package / Vulnerable / Unaffected |
32 |
------------------------------------------------------------------- |
33 |
1 dev-php/PEAR-PhpDocumentor |
34 |
< 1.4.3-r1 >= 1.4.3-r1 |
35 |
|
36 |
Description |
37 |
=========== |
38 |
|
39 |
phpDocumentor bundles Smarty with the modifier.regex_replace.php |
40 |
plug-in which does not properly sanitize input related to the ASCII NUL |
41 |
character in a search string. |
42 |
|
43 |
Impact |
44 |
====== |
45 |
|
46 |
A remote attacker could call arbitrary PHP functions via templates. |
47 |
|
48 |
Workaround |
49 |
========== |
50 |
|
51 |
There is no known workaround at this time. |
52 |
|
53 |
Resolution |
54 |
========== |
55 |
|
56 |
All phpDocumentor users should upgrade to the latest stable version: |
57 |
|
58 |
# emerge --sync |
59 |
# emerge --ask --oneshot -v ">=dev-php/PEAR-PhpDocumentor-1.4.3-r1" |
60 |
|
61 |
NOTE: This is a legacy GLSA. Updates for all affected architectures are |
62 |
available since February 12, 2011. It is likely that your system is |
63 |
already no longer affected by this issue. |
64 |
|
65 |
References |
66 |
========== |
67 |
|
68 |
[ 1 ] CVE-2008-1066 |
69 |
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2008-1066 |
70 |
|
71 |
Availability |
72 |
============ |
73 |
|
74 |
This GLSA and any updates to it are available for viewing at |
75 |
the Gentoo Security Website: |
76 |
|
77 |
http://security.gentoo.org/glsa/glsa-201111-04.xml |
78 |
|
79 |
Concerns? |
80 |
========= |
81 |
|
82 |
Security is a primary focus of Gentoo Linux and ensuring the |
83 |
confidentiality and security of our users' machines is of utmost |
84 |
importance to us. Any security concerns should be addressed to |
85 |
security@g.o or alternatively, you may file a bug at |
86 |
https://bugs.gentoo.org. |
87 |
|
88 |
License |
89 |
======= |
90 |
|
91 |
Copyright 2011 Gentoo Foundation, Inc; referenced text |
92 |
belongs to its owner(s). |
93 |
|
94 |
The contents of this document are licensed under the |
95 |
Creative Commons - Attribution / Share Alike license. |
96 |
|
97 |
http://creativecommons.org/licenses/by-sa/2.5 |