Application Security Community

 View Only
Expand all | Collapse all

Potential Problem with Patch 14.5.0.20?

  • 1.  Potential Problem with Patch 14.5.0.20?

    Posted 02-16-2022 17:17
    Edited by Sarah LAMONT 02-17-2022 07:03
    I just noticed that after upgrading to 14.5.0.20 last week the tmp directory directory of the upgraded Gateway holds 320.000 (!) files. (gateway_state.stderr.xxxx.xxxxx)

    Talked to support - it is a confirmed bug, Imperva creates a file that does not get deleted!

    According to support it's ok to delete the files. The "normal" command might fail, as there are too many files.

    The correct command (which I cannot post here, because the WAF is blocking me...) you can find on my website:

    Imperva 14.5.0.20 - martinschmitz.it
    Martinschmitz remove preview
    Imperva 14.5.0.20 - martinschmitz.it
    In Imperva Version 14.5.0.20 (for WAF, I am not sure if it applies to DAM as well) is a bug that Imperva writes a temp file in the /tmp directory that should be deleted immediately after creation, but this does not happen.
    View this on Martinschmitz >


    I just saw that 14.5.0.20 is still on the Imperva FTP and that there is a 14.6.0.10 as well, I have no information if 14.6.0.10 will solve this.

    Cheers

    Martin





    #On-PremisesWAF(formerlySecuresphere)

    ------------------------------
    Martin Schmitz
    Not Provided
    Martin Schmitz IT Security Consulting
    Korschenbroich
    ------------------------------


  • 2.  RE: Potential Problem with Patch 14.5.0.20?

    Posted 02-17-2022 08:03
    Hi Martin,

    I would add a condition to find files older than 2 minutes.


    ------------------------------
    Michael Sorin
    Software Engineer
    Tel Aviv CA
    ------------------------------



  • 3.  RE: Potential Problem with Patch 14.5.0.20?

    Posted 02-17-2022 08:22
    Hi Michael,

    can you please explain? On all gateways I have been so far, there are empty files beeing created from the time it got upgraded to 14.5.0.20

    Martin

    ------------------------------
    Martin Schmitz
    Not Provided
    Martin Schmitz IT Security Consulting
    Korschenbroich
    ------------------------------



  • 4.  RE: Potential Problem with Patch 14.5.0.20?

    Posted 02-17-2022 09:10
    Use the -mmin option to remove only file that are older than 2 minutes as the newer files are still can be used by the system

    ------------------------------
    Michael Sorin
    Software Engineer
    Tel Aviv CA
    ------------------------------



  • 5.  RE: Potential Problem with Patch 14.5.0.20?

    Posted 02-17-2022 10:26
    Got it, thanks for the addition!

    Thanks!

    ------------------------------
    Martin Schmitz
    Not Provided
    Martin Schmitz IT Security Consulting
    Korschenbroich
    ------------------------------



  • 6.  RE: Potential Problem with Patch 14.5.0.20?

    Posted 02-22-2022 08:30
    Hi Martin,

    We have found out that the issue occurs only in VRRP systems. It is safe to delete files older than 5 minutes.
    We are working on a more permanent fix.

    Thanks,
    Michael Sorin

    ------------------------------
    Michael Sorin
    Software Engineer
    Tel Aviv CA
    ------------------------------



  • 7.  RE: Potential Problem with Patch 14.5.0.20?

    Posted 02-22-2022 17:13
    Hi Michael,

    thanks, highly appreciated!!!

    Martin

    ------------------------------
    Martin Schmitz
    Not Provided
    Martin Schmitz IT Security Consulting
    Korschenbroich
    ------------------------------