Cacti Vulnerability in perfSONAR-PS Toolkit Details.

There has been a vulnerability in the Cacti component of the perfSONAR-PS Toolkit identified which can allow "defacing" of the text fields on the Cacti settings web page or possible SQL injection attack into the Cacti database. It exists in versions of perfSONAR-PS prior to the following RPM versions:


Problem Remediation

The RPMS (and the corresponding updated ISOs) listed in the previous section address the issue. The patch created (that will be pulled down via yum) disables 'guest' (e.g. anonymous) access to cacti on the toolkit. The ink on the main page is still there, but will now require someone with a password/username to get in. This prevents unauthenticated access to the Cacti settings page, removing the threat of "defacing" or SQL injection.

For our recommended netinstall (installation onto local disk) sites should 'yum update'. This is as simple as:

yum  -y  update

For sites running from CD or USB, please download, produced updated media and reboot your system using the updated media.

Disabling Cacti

Since Cacti is NOT part of either the OSG or WLCG perfSONAR-PS use-cases, sites can choose to disable it entirely via:

  1. Edit /etc/httpd/conf.d/apache-toolkit_web_gui.conf
  2. Add the following stanza:
      <Directory "/opt/perfsonar_ps/toolkit/web/root/admin/cacti">
        Deny from all
  3. Restart apache:
       sudo /etc/init.d/httpd restart

Then any access attempt will result in a 403 return.

Verification of Fix

Sites can verify they have the updated RPMS via rpm -qa | grep PS-Toolkit. Check for the 3.3.2-16 versions mentioned at the top of the page.

Alternately you can try to access the Cacti settings page to verify it prompts for authentication. The form of the URL is


For example, if your toolkit instance is you should verify prompts you for authentication.


See EGI SVG EGI-SVG-2014-7162 or refer to perfSONAR-PS FAQ at

-- ShawnMcKee - 26 Jun 2014

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2014-06-26 - ShawnMcKee
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LCG All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback