oversecured / ovaa Goto Github PK
View Code? Open in Web Editor NEWOversecured Vulnerable Android App
Home Page: https://oversecured.com
License: BSD 2-Clause "Simplified" License
Oversecured Vulnerable Android App
Home Page: https://oversecured.com
License: BSD 2-Clause "Simplified" License
After recent changes, the application is not able to authenticate and crashes when creds are supplied.
Verified this on several android devices. Same behaviour.
Following is the logcat output:
OpenGLRenderer W Failed to set EGL_SWAP_BEHAVIOR on surface 0xeb3f3780, error=EGL_SUCCESS
ovaa D Processing [email protected]:ovaa
AndroidRuntime D Shutting down VM
E FATAL EXCEPTION: main
E Process: oversecured.ovaa, PID: 5853
E java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Context.getString(int)' on a null object reference
E at oversecured.ovaa.utils.LoginUtils.getLoginUrl(LoginUtils.java:55)
E at oversecured.ovaa.activities.LoginActivity.processLogin(LoginActivity.java:63)
E at oversecured.ovaa.activities.LoginActivity.access$000(LoginActivity.java:22)
E at oversecured.ovaa.activities.LoginActivity$1.onClick(LoginActivity.java:53)
E at android.view.View.performClick(View.java:5198)
E at android.view.View$PerformClick.run(View.java:21147)
E at android.os.Handler.handleCallback(Handler.java:739)
E at android.os.Handler.dispatchMessage(Handler.java:95)
E at android.os.Looper.loop(Looper.java:148)
E at android.app.ActivityThread.main(ActivityThread.java:5417)
E at java.lang.reflect.Method.invoke(Native Method)
E at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
E at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Process I Sending signal. PID: 5853 SIG: 9
Process oversecured.ovaa (PID: 5853) ended
private void invokePlugins() {
for(PackageInfo info : getPackageManager().getInstalledPackages(0)) {
String packageName = info.packageName;
Bundle meta = info.applicationInfo.metaData;
// Log.d("debug", meta.toString());
Log.d("debug", packageName);
if(packageName.startsWith("oversecured.plugin."))
{
Log.d("debug", info.applicationInfo.toString());
}
if(packageName.startsWith("oversecured.plugin.")
&& meta.getInt("version", -1) >= 10) {
https://developer.android.com/reference/android/content/pm/ApplicationInfo
In the above doc, you will find that there is no property named metaData in the class ApplicationInfo, so whatever you do , there will always be an nullpointreferce.
I know nothing about Android 5 days ago, but this seems to be a bug.
It will be great if we can directly access the APK instead of building the application using the source code.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.