CVE-2025-57247: BATBToken - Broken Access Control
- Cve: CVE-2025-57247
- Name: BATBToken - Broken Access Control
- Description: The BATBToken smart contract (address 0xfbf1388408670c02f0dbbb74251d8ded1d63b7a2, Compiler Version v0.8.26+commit.8a97fa7a) contains incorrect access control implementation in whitelist management functions. The setColdWhiteList() and setSpecialAddress() functions in the base ERC20 contract are declared as public without proper access control modifiers, allowing any user to bypass transfer restrictions and manipulate special address settings. This enables unauthorized users to circumvent cold time transfer restrictions and potentially disrupt dividend distribution mechanisms, leading to privilege escalation and violation of the contract's intended tokenomics.
- Impact: Unauthorized users can bypass transfer restrictions and manipulate special addresses, disrupting tokenomics and enabling privilege escalation.
- Remediation: Restrict access to whitelist management functions by adding proper access control modifiers or update to a secure contract version.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- Epss score: 0.00359
- Epss percentile: 0.29967
- Assignee: [email protected]
- Published at: 2025-10-06T17:16:05Z
- Age in days: 414
- Modified at: 2026-11-05T23:10:00Z
- References total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-57247
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-284 | Improper Access Control |
References
| Url | Source | Tags |
|---|---|---|
| https://bscscan.com/address/0xfbf1388408670c02f0dbbb74251d8ded1d63b7a2#code | nvd | |
| https://github.com/RikkaLzw/CVE/blob/main/CVE_BATB-TOKEN.md | nvd |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts