LiveActive security incident?Get immediate response
CVE Record

CVE-2017-20247: WordPress Plugin PICA Photo Gallery 1.0 SQL Injection

WordPress Plugin PICA Photo Gallery 1.0 contains an SQL injection vulnerability that allows unauthenticated attackers to execute arbitrary SQL queries by injecting malicious code through the aid parameter. Attackers can send GET requests with crafted SQL payloads in the aid parameter to extract sensitive database information including user credentials and table contents.

HighCVSS 8.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

This is a high-risk database injection flaw in Apptha PICA Photo Gallery 1.0 for WordPress. An unauthenticated internet user could target vulnerable sites and potentially read sensitive WordPress database data, including user-related records. Sources do not identify a fixed version or confirm active exploitation.

Executive priority

Prioritize within the current remediation cycle for any internet-facing WordPress site using this plugin. The main business risk is database confidentiality loss, including credential or user data exposure. Urgency increases if the plugin is confirmed installed on production systems.

Technical view

CVE-2017-20247 is a CWE-89 SQL injection in the PICA Photo Gallery 1.0 WordPress plugin. The vulnerable surface is the aid parameter, with network access, low complexity, no privileges, and no user interaction required. CVSS v4.0 is 8.8 high, driven mainly by high confidentiality impact.

Likely exposure

Exposure is limited to WordPress installations running Apptha PICA Photo Gallery version 1.0, especially public sites where plugin endpoints are reachable. Sites not using this plugin or not on version 1.0 are not shown as affected by the provided sources.

Exploitation context

A public ExploitDB reference exists, so defenders should treat exploit knowledge as public. The source bundle marks CISA KEV as false, and no cited source in the bundle confirms active exploitation in the wild.

Researcher notes

The provided evidence identifies product, version, parameter, CWE, CVSS, and public exploit reference. It does not provide a vendor patch version, affected code path details, or observed exploitation telemetry. Avoid assuming broader Apptha products are affected.

Mitigation direction

  • Inventory WordPress sites for PICA Photo Gallery 1.0.
  • Disable or remove the plugin where business use is not required.
  • Check Apptha and VulnCheck guidance for any fixed release or vendor workaround.
  • Use WAF or access controls to reduce exposure while remediation is assessed.
  • Review database users and rotate credentials if compromise is suspected.

Validation and detection

  • Confirm whether PICA Photo Gallery is installed and identify its exact version.
  • Review web logs for suspicious requests involving the plugin and aid parameter.
  • Check WordPress database integrity and unexpected administrator accounts.
  • Verify backups exist before plugin removal or replacement.
  • Document whether the site remains publicly reachable after mitigation.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-89: Database access and collection lookup

Injection into data stores can inform collection, data access, and exfiltration detection reviews. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Database behavior lookup

The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2017-20247 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.8 (4.0)
Known Exploited
No
Published

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
3Timeline events
0ADP providers
4Source links

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.8CVSS 4.0HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:NVulnCheck
8.2CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N3.94.2VulnCheck

Vulnerability scoring details

Base CVSS 4.0 score

8.8High
CVSS 4.0 vector shape for CVE-2017-20247Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
AppthaPICA Photo Gallery1.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-89 · source CWE mapping

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.