Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197356 (CVE-2007-5710) - www-apps/wordpress < 2.3.1 "posts_columns" Cross-site scripting (CVE-2007-5710)
Summary: www-apps/wordpress < 2.3.1 "posts_columns" Cross-site scripting (CVE-2007-5710)
Status: RESOLVED FIXED
Alias: CVE-2007-5710
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Security
URL: http://www.frsirt.com/english/advisor...
Whiteboard: ~4 [noglsa]
Keywords:
Depends on:
Blocks: 197615
  Show dependency tree
 
Reported: 2007-10-29 01:46 UTC by James Ward
Modified: 2007-10-31 10:52 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 James Ward 2007-10-29 01:46:16 UTC
Please version bump wordpress to 2.3.1.

Thanks.

Reproducible: Always

Steps to Reproduce:
Comment 1 Robert Buchholz (RETIRED) gentoo-dev 2007-10-29 23:27:04 UTC
FrSIRT:
  A vulnerability has been identified in WordPress, which could be
  exploited by attackers to execute arbitrary scripting code. This
  issue is caused by an input validation error in the
  "wp-admin/edit-post-rows.php" script when processing the
  "posts_columns" parameter, which could be exploited by attackers to
  cause arbitrary scripting code to be executed by the user's browser
  in the security context of an affected Web site.
  

Comment 2 Robert Buchholz (RETIRED) gentoo-dev 2007-10-29 23:28:21 UTC
Reintroducing security support for WordPress :-) According to upstream, it only happens when register_globals is on, which is not a recommended setup anyway.

Web-Apps, your call.
Comment 3 Robert Buchholz (RETIRED) gentoo-dev 2007-10-29 23:31:03 UTC
mah, reassigning changed status.
Comment 4 Gunnar Wrobel (RETIRED) gentoo-dev 2007-10-30 12:18:58 UTC
Added to 2.3.1 to the tree. I also modified the ebuild a bit to a cleaner webapp ebuild. I'll remove the older version if there are no bugs on the new ebuild within a week.
Comment 5 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2007-10-30 14:05:58 UTC
Closing this one as fixed since it's not stable. In the past I think we've refused stuff that require register_globals to be on.
Comment 6 James Ward 2007-10-31 07:04:14 UTC
The new ebuild overwrites my wp-config.php file.  Did I do something wrong?
Comment 7 Gunnar Wrobel (RETIRED) gentoo-dev 2007-10-31 08:00:42 UTC
Hm, I checked but I think the definition of config file is okay. In my case webapp-config protects the file correctly.

When you install wordpress into the virtual host, do you see the line:

...
^o^ hiding /wp-config.php
...

Do you see

...
 * (config) htdocs/wp-config.php
...

when installing the ebuild?

What is the content of 

/usr/share/webapps/wordpress/2.3.1/config-files

Comment 8 Robert Buchholz (RETIRED) gentoo-dev 2007-10-31 10:52:49 UTC
I opened a new bug to handle this regression. Please reopen this if you want to stable a new version.