Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-1754

Preflight doesn't detect JavaScript for some PDFs

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: Preflight
    • Labels:
    • Environment:
      Win 7

      Description

      I just did another round of testing with the Adobe Acrobat Engineering PDFs (using revision 1530740 of Preflight). Some of these files contain JavaScript, but this is not picked up by Preflight. Three examples:

      http://acroeng.adobe.com/Test_Files/classic_multimedia//Disney-Flash.pdf
      http://acroeng.adobe.com/Test_Files/classic_multimedia//Service%20Form_media.pdf
      http://acroeng.adobe.com/Test_Files/classic_multimedia//Trophy.pdf

      Both Adobe Acrobat's Preflight component and an additional check with a Hex editor confirm that these files do actually contain JavaScript.

      PS: great to see the improvements in the latest version of Preflight!

      PPS: the full results for all the files in my test dataset are here, just in case anyone finds this useful:

      http://wiki.opf-labs.org/display/TR/Analysis+of+Acrobat+Engineering+PDFs+with+Acrobat+Preflight+and+Apache+Preflight

      Cheers,

      Johan

      Edit from Tilman Hausherr, the other useful link to your work is
      http://openpreservation.org/knowledge/blogs/2013/07/25/identification-pdf-preservation-risks-sequel/

        Attachments

        1. 006654.pdf
          447 kB
          Tilman Hausherr

          Activity

            People

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              johanvanderknijff Johan van der Knijff
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: