Editing FailMail
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 18: | Line 18: | ||
This is achieved by making the name of the attachment be "../../../" and then the path to the file you wanted to overwrite. This worked because on [[3.55]] email attachments are saved to ux0:/temp/email/ as their full name, which would become ux0:/temp/email/../../../ux0:/id.dat, overwriting id.dat. However, in 3.55 and above, there is an additional check to get the filename of the email excluding the path and write it there with that name instead, and in later firmwares, you cannot do "../" to leave the current partition either. | This is achieved by making the name of the attachment be "../../../" and then the path to the file you wanted to overwrite. This worked because on [[3.55]] email attachments are saved to ux0:/temp/email/ as their full name, which would become ux0:/temp/email/../../../ux0:/id.dat, overwriting id.dat. However, in 3.55 and above, there is an additional check to get the filename of the email excluding the path and write it there with that name instead, and in later firmwares, you cannot do "../" to leave the current partition either. | ||
== Arbitrary File Read == | == Arbitrary File Read == |