J-Security Center

Title: ePerl Remote Buffer Overflow Vulnerability

Severity: HIGH

Description:

ePerl is a multipurpose perl interpreter for Unix systems.

Multiple string operations are performed insecurely within ePerl. As a result, ePerl contains potential buffer overflows which may be remotely exploitable.

These string operations involve the use of functions such as 'strcpy' and 'sprintf', which do not accept maximum length arguments when copying null-terminated strings. If the data copied is externally supplied, it may be possible for an attacker to exploit these insecure function calls as stack based buffer overflows. If ePerl is installed setuid root, which is an optional configuration, an attacker may be able to execute arbitrary code with superuser privileges.

In addition to this, ePerl may be remotely exploitable on some systems. Certain default system configurations may allow attackers to exploit this vulnerability remotely through CGI. In such a case, arbitrary code would be executed with the privileges of the webserver process, likely 'nobody'.

Affected Products:

  • Ralf S. Engelschall ePerl 2.2.12
  • Ralf S. Engelschall ePerl 2.2.13

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.