Skip to content

Commit 5911b2c

Browse files
plr0manadamrdavid
andauthored
Add Auto Backup Allowed by Default (#284)
Co-authored-by: Adam David <[email protected]>
1 parent aae2453 commit 5911b2c

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
1515
- server_side_injection.ssti.custom
1616
- sensitive_data_exposure.via_localstorage_sessionstorage.sensitive_token
1717
- sensitive_data_exposure.via_localstorage_sessionstorage.non_sensitive_token
18+
- mobile_security_misconfiguration.auto_backup_allowed_by_default
1819
- server_security_misconfiguration.no_rate_limiting_on_form.change_password
1920
- server_side_injection.content_spoofing.impersonation_via_broken_link_hijacking
2021

mappings/cvss_v3/cvss_v3.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -868,6 +868,10 @@
868868
{
869869
"id": "clipboard_enabled",
870870
"cvss_v3": "AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N"
871+
},
872+
{
873+
"id": "auto_backup_allowed_by_default",
874+
"cvss_v3": "AV:P/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N"
871875
}
872876
]
873877
},

mappings/remediation_advice/remediation_advice.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,6 +1233,13 @@
12331233
{
12341234
"id": "clipboard_enabled",
12351235
"remediation_advice": "Ensure that copy/paste functionality is disabled on sensitive content like credit card numbers, social security numbers etc. as other apps on the same device can access data stored in clipboard.\nThe example below disables clipboard for the `textField` TextView in Android:\n```java\ntextField.setCustomSelectionActionModeCallback(new ActionMode.Callback() {\n public boolean onCreateActionMode(ActionMode actionMode, Menu menu) {\n return false;\n }\n\n public boolean onPrepareActionMode(ActionMode actionMode, Menu menu) {\n return false;\n }\n\n public boolean onActionItemClicked(ActionMode actionMode, MenuItem item) {\n return false;\n }\n\n public void onDestroyActionMode(ActionMode actionMode) {\n }\n});\ntextField.setLongClickable(false);\ntextField.setTextIsSelectable(false);\n```\nThe example below disables clipboard for UITextField in iOS:\n```swift\noverride public func canPerformAction(_ action: Selector, withSender sender: Any?) -> Bool {\n if action == #selector(copy(_:)) || action == #selector(paste(_:)) {\n return false\n }\n return true\n}\n```"
1236+
},
1237+
{
1238+
"id": "auto_backup_allowed_by_default",
1239+
"remediation_advice": "Consider disabling auto backup of any sensitive application data. In Android you can disable auto backup by setting `android:allowBackup` in your app manifest file to false.",
1240+
"references": [
1241+
"https://developer.android.com/guide/topics/data/autobackup"
1242+
]
12361243
}
12371244
]
12381245
},

vulnerability-rating-taxonomy.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1853,6 +1853,12 @@
18531853
"name": "Clipboard Enabled",
18541854
"type": "subcategory",
18551855
"priority": 5
1856+
},
1857+
{
1858+
"id": "auto_backup_allowed_by_default",
1859+
"name": "Auto Backup Allowed by Default",
1860+
"type": "subcategory",
1861+
"priority": 5
18561862
}
18571863
]
18581864
},

0 commit comments

Comments
 (0)