PowerCMS XMLRPC API vulnerable to command injection


PowerCMS XMLRPC API provided by Alfasado Inc. contains a command injection vulnerability (CWE-74).
Sending a specially crafted message by POST method to PowerCMS XMLRPC API may allow arbitrary Perl script execution, and an arbitrary OS command may be executed through it.
According to the developer, it is unable to execute a command with an arbitrary value added to its argument, even if the vulnerability is exploited.

Alfasado Inc. reported this vulnerability to JPCERT/CC to notify users of its solution through JVN. JPCERT/CC and Alfasado Inc. coordinated under the Information Security Early Warning Partnership.
CVSS Severity (What is CVSS?)

CVSS V3 Severity:
Base Metrics 9.8 (Critical) [IPA Score]
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: None
  • User Interaction: None
  • Scope: Unchanged
  • Confidentiality Impact: High
  • Integrity Impact: High
  • Availability Impact: High
CVSS V2 Severity:
Base Metrics 7.5 (High) [IPA Score]
  • Access Vector: Network
  • Access Complexity: Low
  • Authentication: None
  • Confidentiality Impact: Partial
  • Integrity Impact: Partial
  • Availability Impact: Partial
Affected Products

Alfasado Inc.
  • PowerCMS 6.021 and earlier (PowerCMS 6 Series)
  • PowerCMS 5.21 and earlier (PowerCMS 5 Series)
  • PowerCMS 4.51 and earlier (PowerCMS 4 Series)

The developer states that PowerCMS 3 Series and earlier, which are unsupported (End-of-Life, EOL) versions, are affected too.

An arbitrary Perl script may be executed by a remote attacker. As a result, an arbitrary OS command may be executed.

[When XMLRPC API is NOT required: Disable XMLRPC API]

  • If XMLRPC API is used as CGI/FastCGI

    • Delete mt-xmlrpc.cgi or remove execute permission of mt-xmlrpc.cgi

      • According to the developer, when PowerCMS environment variable XMLRPCScript is configured, the file may be renamed. In that case, implement this countermeasure to that renamed file

  • If XMLRPC API is used as PSGI

    • Configure environment variable RestrictedPSGIApp to prohibit XMLRPC application: RestrictedPSGIApp xmlrpc

[When XMLRPC API should be kept available: Apply the patch]
Apply the patch according to the information provided by the developer.
Vendor Information

Alfasado Inc.
CWE (What is CWE?)

  1. No Mapping(CWE-Other) [IPA Evaluation]
CVE (What is CVE?)

  1. CVE-2022-33941

  1. JVN : JVN#76024879
Revision History

  • [2022/09/02]
      Web page was published