SOAP::Lite Remote Arbitrary Command Execution Vulnerability

BID:4493

Info

SOAP::Lite Remote Arbitrary Command Execution Vulnerability

Bugtraq ID: 4493
Class: Design Error
CVE:
Remote: Yes
Local: No
Published: Dec 28 2001 12:00AM
Updated: Dec 28 2001 12:00AM
Credit: Published by stealth <[email protected]>.
Vulnerable: Paul Kulchenko SOAP::Lite 0.52
- Larry Wall Perl 5.6
- Larry Wall Perl 5.0 05_003
- Larry Wall Perl 5.0 05
- Larry Wall Perl 5.0 04_05
- Larry Wall Perl 5.0 04
- Larry Wall Perl 5.0 03
Paul Kulchenko SOAP::Lite 0.51
- Larry Wall Perl 5.6
- Larry Wall Perl 5.0 05_003
- Larry Wall Perl 5.0 05
- Larry Wall Perl 5.0 04_05
- Larry Wall Perl 5.0 04
- Larry Wall Perl 5.0 03
Paul Kulchenko SOAP::Lite 0.50
- Larry Wall Perl 5.6
- Larry Wall Perl 5.0 05_003
- Larry Wall Perl 5.0 05
- Larry Wall Perl 5.0 04_05
- Larry Wall Perl 5.0 04
- Larry Wall Perl 5.0 03
Not Vulnerable: Paul Kulchenko SOAP::Lite 0.55
- Larry Wall Perl 5.6
- Larry Wall Perl 5.0 05_003
- Larry Wall Perl 5.0 05
- Larry Wall Perl 5.0 04_05
- Larry Wall Perl 5.0 04
- Larry Wall Perl 5.0 03

Discussion

SOAP::Lite Remote Arbitrary Command Execution Vulnerability

SOAP::Lite is a collection of Perl modules providing an implementation of the Simple Object Access Protocol (SOAP). It includes support for both client and server programming.

A vulnerability has been reported in some versions of SOAP::Lite. It is possible to execute arbitrary Perl functions as the server process, including attacker supplied parameters.

This may happen when an attacker provides a fully qualified method to the SOAP call, including Perl package names. Usage of functions such as POSIX::system() may then result in arbitrary shell commands being executed by the server process, and lead to local access to the vulnerable system.

Exploit / POC

SOAP::Lite Remote Arbitrary Command Execution Vulnerability

Currently the SecurityFocus staff are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

Solution / Fix

SOAP::Lite Remote Arbitrary Command Execution Vulnerability

Solution:
An unofficial patch has been provided by Ilya Martynov (http://martynov.org/):

--- /home/ilya/tmp/Lite.pm Tue Apr 9 21:27:07 2002
+++ /usr/share/perl5/SOAP/Lite.pm Tue Apr 9 21:40:10 2002
@@ -2068,6 +2068,11 @@
($method_uri, $method_name) = ($request->namespaceuriof || '',
$request->dataof->name)
unless $method_name;

+ # don't allow method names which contain package names
+ # i.e package::method or package'method (old deprecated syntax)
+ die "Denied access to method ($method_name)"
+ if $method_name =~ /[:']/;
+
$self->on_action->(my $action = $self->action, $method_uri, $method_name);

my($class, $static);

Fixes available:


Paul Kulchenko SOAP::Lite 0.50

Paul Kulchenko SOAP::Lite 0.51

Paul Kulchenko SOAP::Lite 0.52

References

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report