ID

VAR-202112-0775


CVE

CVE-2021-39309


TITLE

Parsian Bank Gateway for Woocommerce WordPress  Cross-site scripting vulnerability in plugins

Trust: 0.8

sources: JVNDB: JVNDB-2021-016170

DESCRIPTION

The Parsian Bank Gateway for Woocommerce WordPress plugin is vulnerable to Reflected Cross-Site Scripting via and parameter due to a var_dump() on $_POST variables found in the ~/vendor/dpsoft/parsian-payment/sample/rollback-payment.php file which allows attackers to inject arbitrary web scripts, in versions up to and including 1.0. Parsian Bank Gateway for Woocommerce WordPress A cross-site scripting vulnerability exists in the plugin.Information may be obtained and information may be tampered with. WordPress is a blogging platform developed by the Wordpress Foundation using PHP language. The platform supports setting up personal blog sites on PHP and MySQL servers. Attackers can exploit this vulnerability to execute JavaScript code on the client

Trust: 1.71

sources: NVD: CVE-2021-39309 // JVNDB: JVNDB-2021-016170 // VULHUB: VHN-400819

AFFECTED PRODUCTS

vendor:dpsoftmodel:parsian bank gateway for woocommercescope:lteversion:1.0

Trust: 1.0

vendor:dpsoftmodel:parsian bank gateway for woocommercescope:eqversion: -

Trust: 0.8

vendor:dpsoftmodel:parsian bank gateway for woocommercescope:eqversion:1.0 to

Trust: 0.8

sources: JVNDB: JVNDB-2021-016170 // NVD: CVE-2021-39309

CVSS

SEVERITY

CVSSV2

CVSSV3

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

Trust: 1.0

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

Trust: 1.0

NVD: CVE-2021-39309
value: MEDIUM

Trust: 0.8

CNNVD: CNNVD-202112-1252
value: MEDIUM

Trust: 0.6

VULHUB: VHN-400819
value: MEDIUM

Trust: 0.1

nvd@nist.gov: CVE-2021-39309
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-400819
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-39309
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-016170
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-400819 // JVNDB: JVNDB-2021-016170 // CNNVD: CNNVD-202112-1252 // NVD: CVE-2021-39309 // NVD: CVE-2021-39309

PROBLEMTYPE DATA

problemtype:CWE-79

Trust: 1.1

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

Trust: 0.8

sources: VULHUB: VHN-400819 // JVNDB: JVNDB-2021-016170 // NVD: CVE-2021-39309

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-202112-1252

TYPE

XSS

Trust: 0.6

sources: CNNVD: CNNVD-202112-1252

PATCH

title:parsian-bank-gateway-for-woocommerce/tags/1.0/vendor/dpsoft/parsian-payment/sample/rollback-payment.phpurl:https://wordpress.org/plugins/parsian-bank-gateway-for-woocommerce/

Trust: 0.8

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

Trust: 0.6

sources: JVNDB: JVNDB-2021-016170 // CNNVD: CNNVD-202112-1252

EXTERNAL IDS

db:NVDid:CVE-2021-39309

Trust: 3.3

db:JVNDBid:JVNDB-2021-016170

Trust: 0.8

db:CNNVDid:CNNVD-202112-1252

Trust: 0.6

db:CNVDid:CNVD-2021-101669

Trust: 0.1

db:VULHUBid:VHN-400819

Trust: 0.1

sources: VULHUB: VHN-400819 // JVNDB: JVNDB-2021-016170 // CNNVD: CNNVD-202112-1252 // NVD: CVE-2021-39309

REFERENCES

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

Trust: 2.5

url:https://plugins.trac.wordpress.org/browser/parsian-bank-gateway-for-woocommerce/tags/1.0/vendor/dpsoft/parsian-payment/sample/rollback-payment.php#l39

Trust: 1.7

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

Trust: 1.4

sources: VULHUB: VHN-400819 // JVNDB: JVNDB-2021-016170 // CNNVD: CNNVD-202112-1252 // NVD: CVE-2021-39309

SOURCES

db:VULHUBid:VHN-400819
db:JVNDBid:JVNDB-2021-016170
db:CNNVDid:CNNVD-202112-1252
db:NVDid:CVE-2021-39309

LAST UPDATE DATE

2024-08-14T14:25:06.413000+00:00


SOURCES UPDATE DATE

db:VULHUBid:VHN-400819date:2021-12-16T00:00:00
db:JVNDBid:JVNDB-2021-016170date:2022-12-08T01:01:00
db:CNNVDid:CNNVD-202112-1252date:2021-12-20T00:00:00
db:NVDid:CVE-2021-39309date:2021-12-16T14:34:24.217

SOURCES RELEASE DATE

db:VULHUBid:VHN-400819date:2021-12-14T00:00:00
db:JVNDBid:JVNDB-2021-016170date:2022-12-08T00:00:00
db:CNNVDid:CNNVD-202112-1252date:2021-12-14T00:00:00
db:NVDid:CVE-2021-39309date:2021-12-14T16:15:08.423