Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250356 (CVE-2008-5305) - www-apps/twiki <4.2.4 Shell command injection and XSS (CVE-2008-{5304,5305,5306})
Summary: www-apps/twiki <4.2.4 Shell command injection and XSS (CVE-2008-{5304,5305,53...
Status: RESOLVED FIXED
Alias: CVE-2008-5305
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Security
URL: http://secunia.com/Advisories/33040/
Whiteboard: ~1 [noglsa]
Keywords:
: CVE-2008-5304 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-09 11:17 UTC by Alex Legler (RETIRED)
Modified: 2008-12-28 21:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Legler (RETIRED) archtester gentoo-dev Security 2008-12-09 11:17:46 UTC
From Secunia:
1) Input passed to the "URLPARAM" TWiki variable is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

2) Input passed to the "SEARCH" parameter is not properly sanitised before being used in an "eval()" call. This can be exploited to inject and execute commands via specially crafted HTTP GET requests containing the backtick operator.

Solution:
Update to version 4.2.4.
Comment 1 Stefan Behte (RETIRED) gentoo-dev Security 2008-12-10 20:54:10 UTC
*** Bug 250550 has been marked as a duplicate of this bug. ***
Comment 2 Stefan Behte (RETIRED) gentoo-dev Security 2008-12-10 20:58:05 UTC
CVE-2008-5304 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-5304):
  Cross-site scripting (XSS) vulnerability in TWiki before 4.2.4 allows
  remote attackers to inject arbitrary web script or HTML via the
  %URLPARAM{}% variable.

CVE-2008-5305 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-5305):
Eval injection vulnerability in TWiki before 4.2.4 allows remote attackers to execute arbitrary Perl code via the %SEARCH{}% variable.

CVE-2008-5306 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-5306):
SQL injection vulnerability in admin/index.php in PG Real Estate Solution allows remote attackers to execute arbitrary SQL commands via the login_lg parameter (username). NOTE: some of these details are obtained from third party information.

Whiteboard ~1 is correct, as remote execution of perl code is possible.
Comment 3 Gunnar Wrobel (RETIRED) gentoo-dev 2008-12-28 21:08:35 UTC
www-apps/twiki-4.2.4 is in the tree. 4.2.3 has been removed. webapps done.
Comment 4 Alex Legler (RETIRED) archtester gentoo-dev Security 2008-12-28 21:40:46 UTC
Guess we're done here.