CVE-2020-28865: Powerjob Insufficiently Protected Credentials Vulnerability

HIGH
Advisory Identifier: GHSA-w4q4-jcm7-g4m6
CVSS 7.5
CWE-522
Published
Advisory Summary

CVE-2020-28865 is a HIGH (CVSS 7.5) insufficiently protected credentials vulnerability (CWE-522: Insufficiently Protected Credentials) affecting Powerjob libraries in the Maven ecosystem. The issue involves insufficiently protected credentials in powerjob. Remediation is available by upgrading affected packages to version 3.3.3.

CVE-2020-28865 at a Glance

CVE Identifier CVE-2020-28865
GHSA Identifier GHSA-w4q4-jcm7-g4m6
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-522: Insufficiently Protected Credentials
Affected Product Powerjob
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2020-28865

To remediate this vulnerability, upgrade all affected Powerjob dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

com.github.kfcfans:powerjob fixed: 3.3.3
<dependency>
    <groupId>com.github.kfcfans</groupId>
    <artifactId>powerjob</artifactId>
    <version>3.3.3</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=com.github.kfcfans

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2020-28865, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=com.github.kfcfans

Analyze the terminal output to locate any version of Powerjob in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.3.3), your application is affected.

Note: The mvn dependency:tree -Dincludes=com.github.kfcfans command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-522: Insufficiently Protected Credentials, where the product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval. In Powerjob, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

An issue was discovered in PowerJob through 3.2.2, allows attackers to change arbitrary user passwords via the id parameter to /appinfo/save.

CVE-2020-28865 Affected Powerjob Versions

1 component(s)
Fixed Versions:
3.3.3
Product / Package Ecosystem Affected Versions Fixed Version
com.github.kfcfans:powerjob
Maven
< 3.3.3
3.3.3

References

Frequently Asked Questions

What is CVE-2020-28865?
CVE-2020-28865 is a security vulnerability in Powerjob involving Insufficiently Protected Credentials in PowerJob under CWE-522: Insufficiently Protected Credentials.
Which Powerjob versions are affected?
Affected versions include releases prior to 3.3.3 across affected packages: com.github.kfcfans:powerjob.
What version fixes CVE-2020-28865?
Upgrading to 3.3.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is powerjob affected?
Yes, com.github.kfcfans:powerjob is affected in releases prior to 3.3.3. Upgrade your dependency to 3.3.3 or later.
What is the CVSS score of CVE-2020-28865?
CVE-2020-28865 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2020-28865?
CVE-2020-28865 is classified under CWE-522: Insufficiently Protected Credentials (The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.).
How can I check Maven dependencies for CVE-2020-28865?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.github.kfcfans'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-w4q4-jcm7-g4m6",
  "modified" : "2022-07-05T22:08:44Z",
  "published" : "2022-06-17T00:01:21Z",
  "aliases" : [ "CVE-2020-28865" ],
  "summary" : "Insufficiently Protected Credentials in PowerJob",
  "details" : "An issue was discovered in PowerJob through 3.2.2, allows attackers to change arbitrary user passwords via the id parameter to /appinfo/save.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.github.kfcfans:powerjob"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.3.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-28865"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/KFCFans/PowerJob/issues/99"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/PowerJob/PowerJob/commit/464ce2dc0ca3e65fa1dc428239829890c52a413a"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/PowerJob/PowerJob"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-522" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-07-05T22:08:44Z",
    "nvd_published_at" : "2022-06-16T21:15:00Z"
  }
}