# CVE-2017-12757: SQL injection in n/a

> Remote attackers can execute arbitrary code via SQL injection in multiple Ambit Technologies web scripts.

- **Severity:** Critical 9.8 (`CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 9 May 2019
- **Updated:** 5 Aug 2024
- **Also known as:** GHSA-35jh-65jp-wj73

## What is CVE-2017-12757?

CVE-2017-12757 is a critical SQL injection vulnerability in n/a, published on 9 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Certain Ambit Technologies Pvt. Ltd products are affected by: SQL Injection. This affects iTech B2B Script 4.42i and Tech Business Networking Script 8.26i and Tech Caregiver Script 2.71i and Tech Classifieds Script 7.41i and Tech Dating Script 3.40i and Tech Freelancer Script 5.27i and Tech Image Sharing Script 4.13i and Tech Job Script 9.27i and Tech Movie Script 7.51i and Tech Multi Vendor Script 6.63i and Tech Social Networking Script 3.08i and Tech Travel Script 9.49. The impact is: Code execution (remote).

Weakness: CWE-89 (Improper Neutralization of Special Elements used in an SQL Command)

## Which versions are affected by CVE-2017-12757?

It affects 12 products.


Products: Ambittechnologies Itech B2b Script, Ambittechnologies Itech Business Networking Script, Ambittechnologies Itech Caregiver Script, Ambittechnologies Itech Classifieds Script, Ambittechnologies Itech Dating Script, Ambittechnologies Itech Freelancer Script, Ambittechnologies Itech Image Sharing Script, Ambittechnologies Itech Job Script, Ambittechnologies Itech Movie Script, Ambittechnologies Itech Multi Vendor Script, Ambittechnologies Itech Social Networking Script, Ambittechnologies Itech Travel Script.

## How do I fix CVE-2017-12757?

No fix has been published for CVE-2017-12757 yet. Limit exposure of the affected software until one is available.

## Is CVE-2017-12757 being exploited?

There is no known exploitation of CVE-2017-12757 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2017-12757 and fix it if it is affected.

What it is: CVE-2017-12757 is a critical SQL injection vulnerability in n/a, published on 9 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2017-12757 in the wild and no public exploit code.

Affected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2017-12757/ (Markdown: https://insights.sbomify.com/CVE-2017-12757/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2017-12757
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2017-12757
- OSV: https://osv.dev/vulnerability/CVE-2017-12757

---
From sbomify Insights: https://insights.sbomify.com/CVE-2017-12757/
Summaries are generated and may contain mistakes; the official description above is the record.
