Security advisory, promptly patch your eZ Publish instances

Thursday 25 March 2010 9:55:43 am

By : Nicolas Pastorino

Today was released the EZSA-2010-001 security advisory, fixing a remote vulnerability in eZ Search. Please read carefully.

This advisory must be acknowledged immediately for any website running eZ Publish version from 3.7 to 4.2. The risk is reduced for website using eZ Find as search engine and the default search interfaces. It must otherwise be fixed promptly to fully remove the flaw.

The eZ Publish Premium instances were addressed, but all other instances must be handled manually, by applying a series of 3 patches.Find all details, plus patches here : http://ez.no/developer/security/security_advisories/ez_publish_4_2/ezsa_2010_001_remote_vulnerability_in_ez_search

EDIT :
Here are the official combined patches :

Please note that the combined patch for eZ Publish 4.1.4 also applies to 4.0.7.

From the command line, applying the patch takes two steps, from eZ Publish's root :

First, simulate it :

$> patch --dry-run -p0 < SA_2010_001_combined_patch_41.diff 

You should get a message like this :

patching file kernel/search/plugins/ezsearchengine/ezsearchengine.php
Hunk #1 succeeded at 586 (offset -3 lines).
Hunk #2 succeeded at 603 (offset -3 lines).
Hunk #3 succeeded at 673 (offset -3 lines).
patching file kernel/content/advancedsearch.php
Hunk #1 succeeded at 156 (offset 6 lines).

Then do apply it, if you received success messages like above (which may slightly vary) :

$> patch -p0 < SA_2010_001_combined_patch_41.diff

The patches will be committed to the public SVN repository soon. As for any Security Advisory, no further detail will be provided on the existing exploit methods and possible consequences. You are encouraged to acknowledge this Security Advisory seriously and take the appropriate actions.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 02:17:15
Script start
Timing: Jan 18 2025 02:17:15
Module start 'layout'
Timing: Jan 18 2025 02:17:15
Module start 'content'
Timing: Jan 18 2025 02:17:15
Module end 'content'
Timing: Jan 18 2025 02:17:15
Script end

Main resources:

Total runtime0.1370 sec
Peak memory usage6,144.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 588.0547152.6406
Module start 'layout' 0.00670.0033 740.695339.4922
Module start 'content' 0.01010.1253 780.1875460.9531
Module end 'content' 0.13540.0016 1,241.140615.7031
Script end 0.1370  1,256.8438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00332.3973150.0002
Check MTime0.00140.9911150.0001
Mysql Total
Database connection0.00100.698410.0010
Mysqli_queries0.076755.9404620.0012
Looping result0.00060.4066600.0000
Template Total0.100173.020.0500
Template load0.00231.645620.0011
Template processing0.097871.387620.0489
Template load and register function0.00010.075210.0001
states
state_id_array0.00352.579330.0012
state_identifier_array0.00332.376940.0008
Override
Cache load0.00201.4949270.0001
Sytem overhead
Fetch class attribute name0.00271.990130.0009
class_abstraction
Instantiating content class attribute0.00000.007530.0000
General
dbfile0.00080.5611100.0001
String conversion0.00000.007340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplblog_entry/full.tplextension/community_design/design/suncana/override/templates/blog_entry/full.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/embed-inline.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/embed-inline.tplEdit templateOverride template
2content/view/embed-inline.tpl<No override>design/standard/templates/content/view/embed-inline.tplEdit templateOverride template
2content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezkeyword.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezkeyword.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 25
 Number of unique templates used: 12

Time used to render debug report: 0.0001 secs