ID

VAR-202112-0776


CVE

CVE-2021-39308


TITLE

WooCommerce myghpay Payment Gateway WordPress  Cross-site scripting vulnerability in plugins

Trust: 0.8

sources: JVNDB: JVNDB-2021-016169

DESCRIPTION

The WooCommerce myghpay Payment Gateway WordPess plugin is vulnerable to Reflected Cross-Site Scripting via the clientref parameter found in the ~/processresponse.php file which allows attackers to inject arbitrary web scripts, in versions up to and including 3.0. WooCommerce myghpay Payment Gateway WordPress A cross-site scripting vulnerability exists in the plugin.Information may be obtained and information may be tampered with. The vulnerability stems from the fact that the clientref parameter in ~/processresponse.php lacks data validation filtering for user-provided data and output. Attackers can exploit this vulnerability to execute JavaScript code on the client

Trust: 1.71

sources: NVD: CVE-2021-39308 // JVNDB: JVNDB-2021-016169 // VULHUB: VHN-400818

AFFECTED PRODUCTS

vendor:woo myghpay payment gatewaymodel:woo-myghpay-payment-gatewayscope:lteversion:3.0

Trust: 1.0

vendor:woocommerce myghpay payment gatewaymodel:woocommerce myghpay payment gatewayscope:eqversion:3.0 to

Trust: 0.8

vendor:woocommerce myghpay payment gatewaymodel:woocommerce myghpay payment gatewayscope:eqversion: -

Trust: 0.8

sources: JVNDB: JVNDB-2021-016169 // NVD: CVE-2021-39308

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2021-39308
value: MEDIUM

Trust: 1.0

security@wordfence.com: CVE-2021-39308
value: MEDIUM

Trust: 1.0

NVD: CVE-2021-39308
value: MEDIUM

Trust: 0.8

CNNVD: CNNVD-202112-1251
value: MEDIUM

Trust: 0.6

VULHUB: VHN-400818
value: MEDIUM

Trust: 0.1

nvd@nist.gov: CVE-2021-39308
severity: MEDIUM
baseScore: 4.3
vectorString: AV:N/AC:M/AU:N/C:N/I:P/A:N
accessVector: NETWORK
accessComplexity: MEDIUM
authentication: NONE
confidentialityImpact: NONE
integrityImpact: PARTIAL
availabilityImpact: NONE
exploitabilityScore: 8.6
impactScore: 2.9
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.8

VULHUB: VHN-400818
severity: MEDIUM
baseScore: 4.3
vectorString: AV:N/AC:M/AU:N/C:N/I:P/A:N
accessVector: NETWORK
accessComplexity: MEDIUM
authentication: NONE
confidentialityImpact: NONE
integrityImpact: PARTIAL
availabilityImpact: NONE
exploitabilityScore: 8.6
impactScore: 2.9
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.1

security@wordfence.com: CVE-2021-39308
baseSeverity: MEDIUM
baseScore: 6.1
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: REQUIRED
scope: CHANGED
confidentialityImpact: LOW
integrityImpact: LOW
availabilityImpact: NONE
exploitabilityScore: 2.8
impactScore: 2.7
version: 3.1

Trust: 1.0

OTHER: JVNDB-2021-016169
baseSeverity: MEDIUM
baseScore: 6.1
vectorString: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: REQUIRED
scope: CHANGED
confidentialityImpact: LOW
integrityImpact: LOW
availabilityImpact: NONE
exploitabilityScore: NONE
impactScore: NONE
version: 3.0

Trust: 0.8

sources: VULHUB: VHN-400818 // JVNDB: JVNDB-2021-016169 // CNNVD: CNNVD-202112-1251 // NVD: CVE-2021-39308 // NVD: CVE-2021-39308

PROBLEMTYPE DATA

problemtype:CWE-79

Trust: 1.1

problemtype:Cross-site scripting (CWE-79) [ others ]

Trust: 0.8

sources: VULHUB: VHN-400818 // JVNDB: JVNDB-2021-016169 // NVD: CVE-2021-39308

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-202112-1251

TYPE

XSS

Trust: 0.6

sources: CNNVD: CNNVD-202112-1251

PATCH

title:woo-myghpay-payment-gateway/trunk/processresponse.php@2410420url:https://wordpress.org/plugins/woo-myghpay-payment-gateway/

Trust: 0.8

title:WordPress Fixes for plugin cross-site scripting vulnerabilitiesurl:http://www.cnnvd.org.cn/web/xxk/bdxqById.tag?id=174535

Trust: 0.6

sources: JVNDB: JVNDB-2021-016169 // CNNVD: CNNVD-202112-1251

EXTERNAL IDS

db:NVDid:CVE-2021-39308

Trust: 3.3

db:JVNDBid:JVNDB-2021-016169

Trust: 0.8

db:CNNVDid:CNNVD-202112-1251

Trust: 0.6

db:CNVDid:CNVD-2021-101668

Trust: 0.1

db:VULHUBid:VHN-400818

Trust: 0.1

sources: VULHUB: VHN-400818 // JVNDB: JVNDB-2021-016169 // CNNVD: CNNVD-202112-1251 // NVD: CVE-2021-39308

REFERENCES

url:https://www.wordfence.com/vulnerability-advisories/#cve-2021-39308

Trust: 2.5

url:https://plugins.trac.wordpress.org/browser/woo-myghpay-payment-gateway/trunk/processresponse.php?rev=2410420#l134

Trust: 1.7

url:https://nvd.nist.gov/vuln/detail/cve-2021-39308

Trust: 1.4

sources: VULHUB: VHN-400818 // JVNDB: JVNDB-2021-016169 // CNNVD: CNNVD-202112-1251 // NVD: CVE-2021-39308

SOURCES

db:VULHUBid:VHN-400818
db:JVNDBid:JVNDB-2021-016169
db:CNNVDid:CNNVD-202112-1251
db:NVDid:CVE-2021-39308

LAST UPDATE DATE

2024-08-14T14:18:13.144000+00:00


SOURCES UPDATE DATE

db:VULHUBid:VHN-400818date:2021-12-16T00:00:00
db:JVNDBid:JVNDB-2021-016169date:2022-12-08T01:01:00
db:CNNVDid:CNNVD-202112-1251date:2021-12-20T00:00:00
db:NVDid:CVE-2021-39308date:2021-12-16T14:33:49.963

SOURCES RELEASE DATE

db:VULHUBid:VHN-400818date:2021-12-14T00:00:00
db:JVNDBid:JVNDB-2021-016169date:2022-12-08T00:00:00
db:CNNVDid:CNNVD-202112-1251date:2021-12-14T00:00:00
db:NVDid:CVE-2021-39308date:2021-12-14T16:15:08.360