This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

[7.501] ORACLE auth_sesskey buffer overflow attempt

Dear all,

today I experienced a dramatic behavior of IPS in Astaro starting from 1:34pm UTC. 

From that moment on, all the connection coming from my web servers to my oracle cluster had been blocked by IPS with the following reason "ORACLE auth_sesskey buffer overflow attempt".

My web servers are all running linux and oracle client 11.1. Windows machines where not impacted except one which is running Windows XP and oracle client 10.2.

Other machines running Oracle SQL Developer and 

Here below you can find an extraction from the log.

2009:11:25-13:34:10 dcfw-ast01-2 snort[26549]: id="2101" severity="warn" sys="SecureNet" sub="ips" name="Intrusion protection alert" action="drop" reason="ORACLE auth_sesskey buffer overflow attempt" group="232" srcip="xx.xx.20.25" dstip="xx.xx.10.130" proto="6" srcport="53977" dstport="1521" sid="16309" class="Attempted Administrator Privilege Gain" priority="1"  generator="1" msgid="0"

This behavior is scary and happened all of a sudden. Systems are running since 20 months with same IPS config on Astaro. No updates on servers or Astaro were done in the past 10 days.

To understand what happened I checked on up2date log and found this:

2009:11:25-13:33:27 dcfw-ast01-2 audld[25550]: id="3707" severity="info" sys="system" sub="up2date" name="Successfully synchronized fileset" status="success" action="download" package="ips"
2009:11:25-13:33:27 dcfw-ast01-2 auisys[26423]: Starting Up2Date Package Installer (Version 1.65)
2009:11:25-13:33:28 dcfw-ast01-2 auisys[26423]: Searching for available up2date packages for type 'mpfc'
2009:11:25-13:33:28 dcfw-ast01-2 auisys[26423]: id="371D" severity="info" sys="system" sub="up2date" name="No up2date packages available for installation" status="failed" action="preinst_check" package="mpfc"
2009:11:25-13:33:33 dcfw-ast01-2 auisys[26423]: Searching for available up2date packages for type 'ips'
2009:11:25-13:33:33 dcfw-ast01-2 auisys[26423]: Installing up2date package file '/var/up2date//ips/u2d-ips-7.158.tgz.gpg'
2009:11:25-13:33:33 dcfw-ast01-2 auisys[26423]: Verifying up2date package signature
2009:11:25-13:33:33 dcfw-ast01-2 auisys[26423]: Unpacking installation instructions
2009:11:25-13:33:33 dcfw-ast01-2 auisys[26423]: Unpacking up2date package container
2009:11:25-13:33:33 dcfw-ast01-2 auisys[26423]: Running pre-installation checks
2009:11:25-13:33:34 dcfw-ast01-2 auisys[26423]: Starting up2date package installation
2009:11:25-13:33:52 dcfw-ast01-2 auisys[26423]: id="371Z" severity="info" sys="system" sub="up2date" name="Successfully installed Up2Date package" status="success" action="install" package_version="7.158" package="ips"
2009:11:25-13:33:52 dcfw-ast01-2 auisys[26423]: New Pattern Up2Dates installed

Might this update be the reason for this horrible behavior?

What am I supposed to do to restore IPS, wait for the next patter update?

Please help.

Roberto


This thread was automatically locked due to age.
Parents
  • It's always a good idea to submit a support request via your MyAstaro account.

    That log looks fine to me.  You might go to the 'Advanced' tab of IPS, remove the Oracle servers from the SQL list, press Apply, then put them back just to be sure there's not something confused there.

    Since these are internal servers, perhaps you would consider putting them in a Source Exception.

    Cheers - Bob
  • It looks like you just got a new IPS rule package update, and one of the new rules, SID 16309, is apparently a false positive.  Just disable that one rule (no need to "restore" the IPS, etc.) in the Advanced Tab in the Intrusion Prevention System configuration.  I would not remove the server from the SQL list; if it's the only server in the list, the net effect will be all traffic will be scanned using the bad rule... if it's not, then you are not protection the Oracle Server with IPS on the SQL port, not a good idea either. The best option is to disable the errant rule.

    ETA, I'd report the false positive to Astaro Support as well.
Reply
  • It looks like you just got a new IPS rule package update, and one of the new rules, SID 16309, is apparently a false positive.  Just disable that one rule (no need to "restore" the IPS, etc.) in the Advanced Tab in the Intrusion Prevention System configuration.  I would not remove the server from the SQL list; if it's the only server in the list, the net effect will be all traffic will be scanned using the bad rule... if it's not, then you are not protection the Oracle Server with IPS on the SQL port, not a good idea either. The best option is to disable the errant rule.

    ETA, I'd report the false positive to Astaro Support as well.
Children
No Data