J-Security Center

Title: ePerl Foreign Code Execution Vulnerability

Severity: HIGH

Description:

ePerl is a multipurpose Perl filter and interpreter program for Unix systems.

ePerl provides a preprocessor that allows additional files to be loaded and processed at runtime, through the use of the 'include' directive. A secure variant of the 'include' directive, 'sinclude,' is provided so external data can be loaded and not processed. The user-supplied file path given with these directives can be a relative or absolute path for the local filesystem, or a fully qualified HTTP URL.

An input validation error exists in this preprocessor. If a file referenced by a 'sinclude' directive contains an 'include' directive, the contents of the file referred to by that directive will be loaded and executed.

In a situation where the 'sinclude' directive references a file outside of the script owner's control, it may be possible for the owner of the file to cause arbitrary code/commands to be executed the next time the script is run.

Affected Products:

  • Ralf S. Engelschall ePerl 2.0.0
  • Ralf S. Engelschall ePerl 2.0.1
  • Ralf S. Engelschall ePerl 2.0.2
  • Ralf S. Engelschall ePerl 2.0.3
  • Ralf S. Engelschall ePerl 2.1.0
  • Ralf S. Engelschall ePerl 2.1.1
  • Ralf S. Engelschall ePerl 2.1.2
  • Ralf S. Engelschall ePerl 2.2.0
  • Ralf S. Engelschall ePerl 2.2.1
  • Ralf S. Engelschall ePerl 2.2.10
  • Ralf S. Engelschall ePerl 2.2.11
  • Ralf S. Engelschall ePerl 2.2.12
  • Ralf S. Engelschall ePerl 2.2.13
  • Ralf S. Engelschall ePerl 2.2.14
  • Ralf S. Engelschall ePerl 2.2.2
  • Ralf S. Engelschall ePerl 2.2.3
  • Ralf S. Engelschall ePerl 2.2.4
  • Ralf S. Engelschall ePerl 2.2.5
  • Ralf S. Engelschall ePerl 2.2.6
  • Ralf S. Engelschall ePerl 2.2.7
  • Ralf S. Engelschall ePerl 2.2.8
  • Ralf S. Engelschall ePerl 2.2.9

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.